Computers and Technology, 15.04.2020 21:30 pc103919
This one needs a definite loop and the number iterations of that loop will be the total number of characters in YOUR first and last names. For example, if your name is Jane Doe then the loop will execute exactly seven (7) times (Jane has 4 characters and Doe has 3 characters). You must HARDCODE your own name into your program, e. g.,
first = "Jane"
last = "Doe"
Your program must figure out the total number of characters in the two names (hint: the len function is one easy way to do this).
You must use a for or while loop to prompt a user to enter each number. The number of numbers the user enters must match the number of letters in your names (for example, when Jane Doe runs her program she will be prompted to enter exactly seven numbers).
Once the loop has finished, your program must output the following:
Number of numbers entered.
Total of the numbers entered.
Average of the numbers entered.
Largest number entered.
Smallest number entered.
Sample output is shown below for Jane Doe's program (remember, you must hardcode your own name in your program).
Hello Jane Doe
Please enter enter 7 numbers.
Enter a number: 3
Enter a number: 2
Enter a number: 5
Enter a number: 7
Enter a number: 2
Enter a number: 4
Enter a number: 6
Number of numbers entered: xx
Total of the numbers: xx
Average of the numbers: xx
Largest number entered was: xx
Smallest number entered was: xx
Answers: 3
Computers and Technology, 22.06.2019 00:30
To insert a column without using commands in any tabs, a user can -click and then click insert column.
Answers: 3
Computers and Technology, 22.06.2019 15:00
When designing content as part of your content marketing strategy, what does the "think" stage represent in the "see, think, do, care" framework?
Answers: 3
Computers and Technology, 23.06.2019 03:10
Fill in the following program so that it will correctly calculate the price of the orange juice the user is buying based on the buy one get one sale.#include //main functionint main() { int cartons; float price, total; //prompt user for input information printf("what is the cost of one container of oj in dollars? \n"); scanf(" [ select ] ["%d", "%c", "%f", "%lf"] ", & price); printf("how many containers are you buying? \n"); scanf(" [ select ] ["%d", "%c", "%f", "%lf"] ", & cartons); if ( [ select ] ["cartons / 2", "cartons % 1", "cartons % 2", "cartons % price", "cartons / price", "cartons / total"] [ select ] ["=", "==", "! =", "< =", "> =", "< "] 0) total = [ select ] ["price * cartons", "cartons * price / 2 + price", "(cartons / 2) * price", "cartons / (2.0 * price)", "(cartons / 2.0) * price + price", "((cartons / 2) * price) + price"] ; else total = ((cartons / 2) * price) + price; printf("the total cost is $%.2f.\n", total); return 0; }
Answers: 2
Computers and Technology, 23.06.2019 09:30
You wanted to look up information about alzheimer's, but you were unsure if it was spelled "alsheimer's" or "alzheimer's." which advanced search strategy would be useful? a) a boolean search b) using a wild card in your search c) trying different search engines d) doing a search for "alsheimer's not alzheimer's" asap. ill give brainlist.
Answers: 1
This one needs a definite loop and the number iterations of that loop will be the total number of ch...
Mathematics, 19.02.2020 00:00
Biology, 19.02.2020 00:00
Geography, 19.02.2020 00:00
History, 19.02.2020 00:00