Complete this programming problem in this assignment by usin

Complete this programming problem in this assignment by using Microsoft Visual Studio Suite. Compile your solutions for each problem solved in a Word or Google document which includes (a) the pseudocode, (b) the C# codes and (c) the execution result (screen capture just the answer part using Snipping Tool, avoiding non-related or blank spaces). Notice for readability, that the (a) & (b) are in text mode and the (c) is in image mode. Use proper titles and wording in the results, such as Console.WriteLine(\"The total change to be made is {0:C}.\", change); so that the results could be easily understood by a third party reader.

Question: Write a C# program to convert one billion seconds (1,000,000,000 seconds) into years, months, days, hours, minutes, and seconds. And compute how many seconds are in 20 years, including 5 leap years.

Solution

#include #include void main() { long int v,sec,hr,min; clrscr(); printf(\"\ Enter the Time in seconds:\"); scanf(“%1d\",&sec); hr=sec/3600; v=sec%3600; min=v/60; sec=v%60; printf(“\ Time in hour:min:sec is: %ld:%ld:%ld\" ,hr,min,sec); getch(); }
Complete this programming problem in this assignment by using Microsoft Visual Studio Suite. Compile your solutions for each problem solved in a Word or Google

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site