1.Write a program that asks the user to enter some number of days and then converts that value to weeks and days. For example, it would convert 18 days to 2 weeks, 4 days. Display results in the...

1.Write a program that asks the user to enter some number of days and then converts that value to weeks and days. For example, it would convert 18 days to 2 weeks, 4 days. Display results in the following format: 18 days is 2 weeks, 4 days. Use a while loop to allow the user to repeatedly enter day values; terminate the loop when the user enters a non-positive value, such as 0 or -20.Write a program that prints a table (using ASCII (printable) characters - for example: ‘|’ and ‘-’ ) with each line giving an integer, its square root, its square and its cube. The design and specific character choice for the table design/presentation are free for you to decide - but make it look nice!). Ask the user to enter a lower and upper limit for the table, but set limits so that input stays between 5 and 25. Use a for loop.










2.
Jan 29, 2023
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here