#include
using std::cin;
using std::cout;
using std::endl;
int main()
{
int number1 = 73;
int number2 = 415;
int sum = 0;
for (int i = number1; i <= number2; i++)
{
sum += i;
}
cout << endl << "Sum from 73 to 415 is: " << sum
<< endl;
system("PAUSE");
return 0;
}
write a program in C that prompts the user with the following lines: a) Add two integers c) Compare two integers for the larger t) Test an integers for odd or even q) Quit
Write a program to find the number and sum of all integers from 100 to 300 that are divisible by 11
This is not a question so you do not need to use a question mark at the end of your sentence.
#include<iostream.h> #include<conio.h> void main() { for(int i=1;i<=10;i++) { cout<<i*i; } getch(); }
How to write a program for secant method by mathematica
write a program in C that prompts the user with the following lines: a) Add two integers c) Compare two integers for the larger t) Test an integers for odd or even q) Quit
Write a program to find the number and sum of all integers from 100 to 300 that are divisible by 11
int x= 1; int y= 2;
a=153 a=n%10;
This is not a question so you do not need to use a question mark at the end of your sentence.
Write a program in C for showing working of different logical operator in C.Your program should guide users with proper message/menu on the console. (5 Marks)
i love u darling
#include<stdio.h> main() { int i; for(i=1;i<=50;i++) { if (i%5!=0) printf("\n %d",i); } }
5,000,000
What for? There is only a 154 inside that is divisible by 77...
You could write it as 5555555555555/1.
#include<iostream.h> #include<conio.h> void main() { for(int i=1;i<=10;i++) { cout<<i*i; } getch(); }