No products in the cart.

Write a short program to input …

CBSE, JEE, NEET, CUET

CBSE, JEE, NEET, CUET

Question Bank, Mock Tests, Exam Papers

NCERT Solutions, Sample Papers, Notes, Videos

Write a short program to input a digit and print it in words from 0 to 9.? *
  • 1 answers

Ruchi Tiwari 4 years, 6 months ago

1.input a number say num. 2.extract the last digit from that number using dig=num%10 3.this value of dig is then passed to switch statement.using cases. 4.to remove last digit from number use :num=num/10. 5.repeat statement 2 to 4 until.num!=0.
http://mycbseguide.com/examin8/

Related Questions

Give two feature of internet
  • 0 answers
Types of e-commerce fraud
  • 0 answers
5 uses of mouse
  • 0 answers

myCBSEguide App

myCBSEguide

Trusted by 1 Crore+ Students

Test Generator

Test Generator

Create papers online. It's FREE.

CUET Mock Tests

CUET Mock Tests

75,000+ questions to practice only on myCBSEguide app

Download myCBSEguide App