Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

write a c program to accept a given integer value and print
its value in words

Answer Posted / sheikh rasel

#include<stdio.h>
int main()
{
int n;
clrscr();
printf("\nenter a integer number::");
scanf("%d",&n);
switch(n)
{
case:1
printf("\nOne");
break;
case:2
printf("\nTwo");
break;
case:3
printf("\nThree");
break;
case:4
printf("\nFour");
brak;
case:5
printf("\nFive");
break;
case:6
printf("\nSix");
break;
case:7
printf("\nSeven");
break;
case:8
printf("\nEight");
break;
case:9
printf("\nNine");
break;
default:
printf("\nSorry");
}
getch();
}

Is This Answer Correct ?    17 Yes 39 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the meaning of ?

1002


what is the difference between class and unio?

2309


What is the description for syntax errors?

1103


What is the method to save data in stack data structure type?

1045


How to find a missed value, if you want to store 100 values in a 99 sized array?

1372


What is structure padding and packing in c?

1013


Explain the properties of union.

1030


Explain what are the __date__ and __time__ preprocessor commands?

1085


What are the back slash character constants or escape sequence charactersavailable in c?

1139


What is the code for 3 questions and answer check in VisualBasic.Net?

2113


What the advantages of using Unions?

1173


what is ur strangth & weekness

2344


What is the condition that is applied with ?: Operator?

1086


Subtract Two Number Without Using Subtraction Operator

795


What is a pointer in c plus plus?

1234