If you knew C language, it would be easy for you!!!
BASIC FORMAT for a c++ program:
body of the program
Programming is really necessary for everything!!! Even the INTERNET you use would not have been possible without programming!!!
I have the simplest logic for border elements !!! I will post it if anyone's interested !!!
The simplest logic for BORDER/BOUNDARY ELEMENTS of a...
You can do it using a 2D array.Obviously there would be more words in a dictionary but I'll just do for one:
Of course C++ is the base of Computer Science!!!
You are welcome!!!
Well these are simple if you know the logic for the questions above!!! say I'll do 2 as an example and you do the rest!!!
FLOWCHART: See ,I...
There are not much differences Just some like
You have to include <iostream.h> instead of <stdio.h>
printf(" ") instead of cout<<
Everyone please stop fighting !!! we are all here to help!!!
The reason why you are not getting is that double is meant only for long integers...
printf"("where does the sun rise?\n"); //your sample question
printf("choices: 1.east 2.west 3. north...
OOPS!!! SILLY mistake!!! that must be
scanf("Enter the value of %d",&i1);
You'll get it now!!!
Create a new variable of character data type say choice and switch it, like
printf("...............all the above content of yours)
There's no need to initialize!!! You'll first have to get the value from the user so that the values can be compared.so it goes like this
Separate names with a comma.