answersLogoWhite

0


Want this question answered?

Be notified when an answer is posted

Add your answer:

Earn +20 pts
Q: How do you write a C program to print a given number in words using switch statement?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Write a program in C to check whether a given number is odd or even using switch statement?

#include<stdio.h> #include<conio.h> void main() { int n; printf("please enter number \n"); scanf("%d",n); switch(n%2) { case 0 : printf("even"); break; case 1 : case -1 : printf("odd"); } getch(); }


What is a bill of mortality?

A bill of mortality is an official statement of the number of deaths in a given place during a given time.


Do an 8086 assembler program to find parity of a given number?

sdfsdfsfsggbcvbg


Could you write a assembly language program in tasm To check whether a given number present in a sequence of given memory location containing the string to be checked in 8086?

8086 assembly language program to check wether given number is perfect or not


The break statement is required in the default case of a switch selection structure?

Ends the case statement. Without it, any code after where the break; is supposed to be will get executed as well until it does encounter a break; or the end of the switch.Code Example:char cTest = 'a';switch(cTest) {case 'a':/* Code here gets executed. */case 'b': //* Code here gets executed. */case 'c':/* Code here gets executed. */break;case 'd':/* Code here won't be executed. */default:/* Code here won't be executed. */}


Explain all the control statements in java?

The if and switch statements are commonly referred to as decision statements. When we use decision statements in our program, we're asking the program to evaluate a given expression to determine which course of action to take. It decides the control flow of the program.


Shell program to find the smallest digit of a given number?

syntax error


Program for finding the factorial of the two given number using constructor?

kjhk


Need a'c' program to find given number is even or odd?

No, thanks.


Which statement tells a correct way to divide anumber by a mixed number?

None of those given.


With a given source statement may be converted to any number of machine-level instructions?

With a COMPILER,


A given source statement may be converted to any number of machine-level instructions with what?

Compiler