Ask a New Question

Question

Write an algorithm to print the number of months (use 30 days for a month)
and remaining days given the number of days,

use a flow chat
4 years ago

Answers

micheal jack
ssory gyus don't use a flowchat , using pseudo code
4 years ago
oobleck
if there are d days, then
months = int(d/30)
the remaining days is m = d mod 30
or, if you don't have the mod function, it is d - 30m
4 years ago
micheal jack
use a input and process and output.
4 years ago

Related Questions

Write an algorithm that seems to make sense for dividing any whole number by a fraction write an algorithm for each of these two problems in pseudocode.(20 points each) Mrs. Smith is o... How to write an algorithm to find the fibonacci series ??? Help:/ How can I write the algorithm in pseudocode to solve this problem: There is 15 pupils in the intr... Algorithm to print all even numbers below hundred in the descending order Write an algorithm to add the number of 2345+1245? Develop algorithm to print all even numbers below 100 in descending order Write a pseudocode algorithm that will accept age and name of two sisters. Display the age and name... HOW TO WRITE ALGORITHM TO add the number 1 to 100 and display the sum After you write the algorithm, write a few sentences reflecting on your experience: What was tricky...
Ask a New Question
Archives Contact Us Privacy Policy Terms of Use