Computer Science, asked by roopadhananjayacta, 5 months ago

. Write a program convert hours to

seconds.​

Answers

Answered by drishtigarg90
0

Answer:

what is this ?

this is of which class ?

Answered by ashauthiras
11

Answer:

The program output is shown below.

  • #include<iostream>
  • float hrs, min, sec = 0;
  • cout << "Enter hours : ";
  • cin >> hrs;
  • min = hrs * 60;
  • sec = min * 60;
  • cout << "\n" << hrs << " hours = " << min << " minutes = " << sec << " seconds";
  • return 0;

Similar questions