Assignement # 1.pdf

  • Uploaded by: Inoxent Angle
  • 0
  • 0
  • May 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Assignement # 1.pdf as PDF for free.

More details

  • Words: 80
  • Pages: 1
COMPUTER PROGRAMMING ASSIGNMENT # 1 Max Marks: 10

Write a program that takes the input in digits and displays the result in words from 1 to 1000. For example if user enters 705 then output should look like Seven Hundred and Five. Hint: 

If number entered is 1000 then display it directly.



If number entered is 0 then display it directly



Separate the number into digits using division and modulus operator.



Check for each digit separately.

Related Documents

Assignement Ep
June 2020 15
Online Assignement
May 2020 11
Chile 1pdf
December 2019 139
Sid Assignement
June 2020 12
Assignement Marketing
July 2020 9
Assignement[1]
May 2020 15

More Documents from "Maan"