SophiaPretty

(5)

$14/per page/Negotiable

About SophiaPretty

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Accounting,Algebra See all
Accounting,Algebra,Applied Sciences,Architecture and Design,Art & Design,Biology,Business & Finance,Calculus,Chemistry,Communications,Computer Science,Economics,Engineering,English,Environmental science,Essay writing Hide all
Teaching Since: Jul 2017
Last Sign in: 304 Weeks Ago, 3 Days Ago
Questions Answered: 15833
Tutorials Posted: 15827

Education

  • MBA,PHD, Juris Doctor
    Strayer,Devery,Harvard University
    Mar-1995 - Mar-2002

Experience

  • Manager Planning
    WalMart
    Mar-2001 - Feb-2009

Category > Computer Science Posted 19 Nov 2017 My Price 7.00

Produce a C program that prompts a user for two integers

Produce a C program that prompts a user for two integers (ints) and stores the two integers the user types into the console. Print the product, quotient, remainder, sum, and difference of the two integers to the console (see below for formatting). Use the first integer the user enters and print a statement to the console identifying the number as positive, negative, or 0. Only submit the .c file. The format should match the sample runs below.

 

Sample Run 1:

Enter two numbers: 5 4

5 * 4 = 20

5 / 4 = 1

5 % 4 = 1

5 + 4 = 9

5 - 4 = 1

Your first number is positive.

 

Sample Run 2:

Enter two numbers: 0 3

0 * 3 = 0

0 / 3 = 0

0 % 3 = 0

0 + 3 = 3

0 - 3 = -3

Your first number is zero.

 

Sample Run 3:

Enter two numbers: -3 8

-3 * 8 = -24

-3 / 8 = 0

-3 % 8 = -3

-3 + 8 = 5

-3 - 8 = -11

Your first number is negative.

Answers

(5)
Status NEW Posted 19 Nov 2017 11:11 AM My Price 7.00

-----------  ----------- H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly

Not Rated(0)