Computer Science, asked by gamingstud2468, 2 months ago

WAP to accept time in hours. Display the time in minutes and

seconds using INPUT statement.​

Answers

Answered by huzefalance6
0

Programing:

QBasic

Program:

CLS

INPUT "ENTER TIME IN HOUR: ";N

PRINT "TIME IN HOURS:";N

PRINT "TIME IN MINUTES:";N*60

PRINT "TIME IN SECONDS:";N*3600

Output:

In the attachment.

Explanation:

Accepts input in N.

Returns N*60 as minutes.

Return N*3600 as seconds.

Attachments:
Similar questions