answersLogoWhite

0

int main()

{

int total = 0;

for(int i = 101; i < 200; i++)

{

if(i % 7 == 0)

total += i;

}

printf("total = %d\n", total);

return 0;

}

User Avatar

Wiki User

16y ago

What else can I help you with?

Related Questions

Writes a c program to find the sum of all integers between 1 and n?

Write a program to find the number and sum of all integers from 100 to 300 that are divisible by 11


How do you determine the out put of java program?

"Output" refers to what the program produces - normally what it shows on screen, or perhaps writes to a file.


What are the release dates for The Jack Benny Program - 1950 Jack Writes Song 12-9?

The Jack Benny Program - 1950 Jack Writes Song 12-9 was released on: USA: 17 December 1961


Is there a program that you can sing into that writes out the notes can anyone help me does anyone know the name of the program?

Yes. I don't know the name of it, but there is software that does that.


What is the program which writes welcome to Nepal in a file?

To write &quot;Welcome to Nepal&quot; in a file, you can use a simple Python program. Here's an example: with open('welcome.txt', 'w') as file: file.write('Welcome to Nepal') This program opens a file named welcome.txt in write mode and writes the specified text to it. If the file does not exist, it will be created.


Who is Debra Landau?

Debra Landau is the Assistant Chair of the Writing Program. She writes poems as well.


What is program threats in operating systems?

Often on user writes a program to be used by another user. In these cases misuses can occur and lead to unexpected behavior.


What is the difference between an embedded system and a desktop system?

in desktop system Intel ENGINEERS writes the operating system program(different ways in which a paticular program can be executed) and user (like software developers ) writes the application program n execute it on OSP.WHEREAS IN EMBEDDED SYSTEM both operating system program(OSP) and application progarm r WRITTEN BY ENGINEERS (TAHT IS USER CANT WRITE APPLICATION PROGRAM)


What is a method of developing software in which the programmer writes and implements a program in segments instead of waiting until the entire program is completed?

RAD (rapid application development)


What do you use to convert a GSI file to an NCD file?

The most reliable way is the use a program which reads and writes both formats


How can you tell if the program is a command-line program?

A command-line program generally reads from stdin and writes to stdout. A graphical-interface program generally interacts with the underlying windowing system. In MS Windows, a command-line (or console) program has a main function, whereas a graphical-interface program has a winmain function. Additionally, the primary includes will be stdio.h (or its variants) vs windows.h (or its variants).


What type of computer writes and modifies a computer program?

Personal Computer....AKA..... all computers write and mod computer programs that's how they run them.