void main()
{
int num,i;
printf("\n Enter number upto which even numbers must be displayed \t");
scanf("%d",&num);
printf("\n Even numbers less than %d are \n",num);
for(i=2;i { printf("%d ",i); } getch(); }
int myVarible = 0;
...
cin >> myVariable;
...
if (myVariable % 2)
{
...
}
...
#include<iostream>
int main()
{
for(int even=2; even<=1000000; even+=2)
std::cout<<even<<std::endl;
}
Yes, yes, please do.
2
a triangle then a square :)
sdfdg
write a program that reads a phrase and prints the number of lowercase latters in it using a function for counting? in C program
To write a C++ program to display the student details using class and array of object.
i want to write a simple without using pointer or array c program which will print greatest number when i give 20 number .........How far have you gotten so far?
a triangle then a square :)
program to find maximum of two numbers using pointers
sdfdg
hi question is here, 1 1 2 1 2 3 1 2 3 4
write an assembly language program to find sum of N numbers
write a program that reads a phrase and prints the number of lowercase latters in it using a function for counting? in C program
To write a C++ program to display the student details using class and array of object.
N = x If y < N then N = Y If z < N then N = z Print N
i want to write a simple without using pointer or array c program which will print greatest number when i give 20 number .........How far have you gotten so far?
int i=0; while (i++<n) { /*...*/ }
i need this answer
There is no gotoxy statement in C.