answersLogoWhite

0

#include<stdio.h>

main()

{

char ch;

printf("\n enter any number:");

scanf("%c",&ch);

if(ch>=65&&ch<=90)

printf("\n upper case aphabet");

else if(ch>=97&&ch<=122)

printf("\n lower case alphabet)

else if(h>=48&&ch<=57)

printf("\n numeric char");

else

printf("\n special char");

}

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

How can you accept sum and print numbers without creating variables?

It is very easy. The program begins here..... /*Program to sum and print numbers without creating variables*/ #include&lt;stdio.h&gt; main() { clrscr(); printf("%d+%d=%d",5,2,5+2); getch(); } /*Program ends here*/ Now just by changing the numbers in the "printf" statement we can add, subtract, multiply and divide the numbers without using variables. Hence the problem is solved..........


Write a c program to accept a numbers and generate square root cube and exponential values?

write a c program to accept a number and generate a square root cube and exponential values


What is the smallest 10-digit number without any number symbol repeated?

If you'll accept a decimal, then it's .0123456789 If you want whole numbers only, and you'll accept a leading zero, then it's 0,123,456,789. If not, then it's 1,023,456,789.


Write a program to accept 2 numbers and tell whether the product of the two number is equal to or greater than 1000?

C programm


Accept 5 numbers in an array and display it?

Accept 5 numbers in an array and display it.


What statement about open doors notes is true?

The nations that received them did not fully accept them.


How would you use statement in a sentence?

The teacher issued a statement declaring that she would not accept any late work.


A statement we accept as true without proof is a?

it is called an axiom


Write the program in qbasic and add two numbers?

Cls input "enter two no.s ",a,b sum=a+b print "sum = ";sum end


What statement would a photorealist most likey accept?

A photorealist would most likely accept the statement that their artwork aims to depict subjects with a high degree of accuracy and attention to detail, closely resembling a photograph.


How do you write BASIC program to accept variables?

dim a input a


A flowchart to Accept three numbers and check whether it firms to Pythagorean triplet?

Accept 3 natural numbers and check whether it firms pythagorean triplet