These are also interesting ...
This is a set the simple exercise of it, who can now solve:
Write a program that reads a date in DD-MM-YYYY and calculate the number of days since January 1 of that year
<<"\nFecha Print the oldest, youngest, the sum and the arithmetic average of ten numbers from the keyboard accepted
Calculate the equivalent time in hours minutes and seconds to a number of seconds to read. The result should be printed in a format like this:
7322 seconds equals: 2 hours, 2 minutes and 2 seconds.
Estimate the number and value with a given accuracy, such accuracy being an input This number is given by the following series:
e = 1 + 1 / 1! + 1 / 2! + 1 / 3! +1 / 4! + ... ..
Given a month of the year, the number of days and the day of the week begins, following a program that displays on screen representation of the calendar for that month
Source: http://foro.elhacker.net / ejercicios/ejercicios_c-t35110.0.html
<<"\nMaƱana es: "<< ano <<"/"<< mes <<"/"<< dia ;
0 comments:
Post a Comment