#include "stdio.h" int main() { unsigned int number, count; printf("Enter the Number \t"); scanf("%d", &number); printf("The even numbers are: \n"); for(count = 0x01; (count < number && number!= 0x00)) { if(count%2) { }else { printf("%d\n", count); } count++; } return 0; }
int i = 0;
while( (i+=2) <= n ) {
printf("%d\n", i);
}
To write a C++ program to display the student details using class and array of object.
you do this 10 print "0112358132134" use the whole of the thing
seq 1 2 99
how to write a program that counts automorphic number from 1 to 999
12
To write a C++ program to display the student details using class and array of object.
Write a function that implements an algorithm that checks to see if a particular integer is prime (returning a boolean). Write a program that uses that function on each number from 1 to 100, and if true, displays that number.
write a program to display your name age class schoolname e-mail 2hobby based on choice
By learning how to program on C+.
Write a program which takes any number of days from the user. the program should display the number of years, number of months formed by these days as well as the remaining days.
you do this 10 print "0112358132134" use the whole of the thing
the following program will display all numbers given in the array in ascending order #include<stdio.h> void main() { int i,h,p; int numbers[10]={5,8,3,2,6,7,9,4,1,10}; for(p=0;p<=8;p=p+1) { for(i=0;i<=8;i=i+1) { if(numbers[i]>numbers[i+1]) { a=numbers[i]; numbers[i]=numbers[i+1]; numbers[i+1]=a; } } } for(i=0;i<=9;i=i+1) { printf("%d ",numbers[i]); } }
k
seq 1 2 99
how to write a program that counts automorphic number from 1 to 999
12
I know how to do this and you need to know how to do this. Why don't you do your best at writing this program and if it does not work then ask for help. You will not learn anything if I give you the answer.