Programming in c | Information Systems homework help

Please look attachment of the assignment Point Deduction. It’s important to follow the proper guidelines. See Sample Assignment as a guide how the assignment should look like.  

Assignment on Programming C:

Write a C program that calculates and prints the sum, difference, product, quotient, and remainder (modulus) of two integer numbers. You will use two numbers different from the numbers that I use. One of the statements in your program should be the following, but with different numbers (do not use zero for either number):

 int num1 = 60, num2 = 25; 

Once you create, compile, link and run your program, your program should output with the following format: 

The two numbers used by this program are 60 and 25. 

The sum is 85 

The difference is 35 

The product is 1500 

The quotient is 2 with a remainder of 10

The terms sum, difference, product, and quotient refer to the operations of addition, subtraction, multiplication and division. Also, you need to use numbers other than 60 and 25 in your program. You can use any numbers you wish except zero. Important: The correct output spacing and rhetoric is part of the program too. 

Hints:  

The terms sum, difference, product, and quotient refer to the operations of addition, subtraction, multiplication and division. 

This program can be accomplished with all integer variables (I used 7).  

This program can be accomplished in about 12 lines of code (not including variable declarations, comments, or blank lines). Don’t worry if you need more lines of code.  

You should have a line in your program that looks something like this: 

 int num1 = 60, num2 = 25; 

Leave a Comment

Your email address will not be published. Required fields are marked *

Is this question part of your Assignment?

Get expert help

Girl in a jacket


We are a team of academic consultants with extensive experience in writing academic papers for college students in the US, Canada, UK, AU, and other parts of the world.

We help students with both technical and non-technical assignments across all majors & academic disciplines.

Unlike what our name suggests, we research and draft everything word for word. We do not use AI or any rewriting tool! We provide Turnitin reports for AI & Turnitin alongside every paper.

Need help? Send us your assignment now!

description here description here description here