subject

1. Add two numbers and store the answer in a variable named SUM. Ask the user to input two values. Read in the first number and store it in a variable named num1, read in the second number and store it in a variable named num2. Check to see if each of the numbers you read are a zero, if they are ask the user to in put a different number. 2. Add and print the class average. Store the class average in a variable named Average. Create a counter to count the number of grades that were entered and store it in the variable counter. Create a loop to enter each grade. Terminate the loop once it reaches 50 iterations.

3. Check to see if the number the user inputs is positive or negative. Ask the user to input a number. Read and store the number in a variable named NUM. Check to see if the number is positive, negative, or zero. Output a phrase to the user telling them if the number is positive, negative, or zero.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 20:40
Convert and simplify the following sentences to conjunctive normal form (cnf): (a) (p → (q → r)) → (p → (r → q)) (b) (p ∧ q) → (¬p ↔ q) (c) ((p → q) ∧ ¬q) → ¬p
Answers: 3
question
Computers and Technology, 22.06.2019 04:00
Which of the following kinds of programs displays an online advertisement in a banner or pop-up window on webpages, email, or other internet service? e
Answers: 2
question
Computers and Technology, 23.06.2019 14:30
Select the correct answer. peter has launched a website that features baby products. however, clients often find they are unable to access the website because the server is down. which feature of cybersecurity should peter focus on for his website? a. data authenticity b. data privacy c. data availability d. data integrity e. data encryption
Answers: 3
question
Computers and Technology, 23.06.2019 18:00
Freya realizes she does not have enough in her bank account to use the debit card. she decides to use a credit card instead. which questions should freya answer before using a credit card? check all that apply. can i pay at least the minimum payment each month? can i make payments on time and avoid late fees? will i have to take out a loan? how much in finance charges can i afford to pay? should i talk to a consumer credit counseling service?
Answers: 1
You know the right answer?
1. Add two numbers and store the answer in a variable named SUM. Ask the user to input two values. R...
Questions
question
Mathematics, 16.09.2021 19:30
question
Mathematics, 16.09.2021 19:30
question
Mathematics, 16.09.2021 19:30
Questions on the website: 13722362