0% found this document useful (0 votes)
30 views1 page

Programming Exercises for Beginners

The document lists five programming tasks to be completed. These tasks include reversing a four-digit integer, converting seconds to hours/minutes/seconds, converting a lowercase character to uppercase, converting a decimal integer to octal form, and finding the real roots of a quadratic equation. Each task is prefixed with 'wap' indicating 'write a program'.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
30 views1 page

Programming Exercises for Beginners

The document lists five programming tasks to be completed. These tasks include reversing a four-digit integer, converting seconds to hours/minutes/seconds, converting a lowercase character to uppercase, converting a decimal integer to octal form, and finding the real roots of a quadratic equation. Each task is prefixed with 'wap' indicating 'write a program'.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

I have discussed similar type of programs, try these by yourself.

wap =write a program


[Link] to print 4 digits positive integer number in reverse order.
[Link] to convert time in seconds to time in hours, minutes and
seconds.
[Link] to read a lowercase character and output is its uppercase
character.
[Link] to accept a decimal integer and print it in octal form.
[Link] to find real roots of a quadratic equation of type
+ + = 0, ℎ ≠ 0.

You might also like