Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

write a program to read a string and convert to number without using lib fun.
#1

write a program to read a string and convert to number.

Input: Enter the string 145
Output: Number is 145.

You have to use %s for reading and %d for printing...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)