You are here:   HomeC Programming (Pratical)C Program Find Transpose of a Matrix
by Dinesh Thakur Category: C Programming (Pratical)

This is program that ask user to check whether the given number is odd or even. That number divided by odd number Is odd else it is even. In this program user declare required variables that are use to contain the value. And the control statement also used like if else for checking the manipulated condition. If the given digit division able with odd number then it will be odd else it will be even number.

 
by Dinesh Thakur Category: C Programming (Pratical)

In this program user ask to convert decimal number into binary number. Binary number has the base of 2. In this program user declare the variable and then the while condition in while condition (n>0). That will manipulated with a[d]=n%2. And then division with 2. Here after the increment operator and for printing out the binary number user uses the loop statement that will generate the binary number on the display.

 
by Dinesh Thakur Category: C Programming (Pratical)

In this program user ask to convert all the lower case character into uppercase. For this user declare two variable named lower and upper. Here in the program user ask to enter the character for converting. Then user use the method to convert like puts the lower variable into getchar() condition whenever it gets character it will turn into uppercase and then trespass the value to upper variable and print them in the end with printing method.

 
by Dinesh Thakur Category: C Programming (Pratical)

The roots of a quadratic equation are real if discriminator b2-4ac is greater than or equal to zero; otherwise they are complex conjugate. However, if the roots are complex conjugate, i.e., if b2-4ac<0, the evaluation of expression sqrt (b*b-4*a*c) causes a domain error and the program halts abruptly.




 
by Dinesh Thakur Category: C Programming (Pratical)

A year is leap if it is divisible by 4 but not by 100 or is divisible by 400. Thus, 1996, 2000 and 2004 are leap years but 1900, 2002 and 2100 are not. The program segment given below determines whether a given year (of type int) is leap or not.




 
by Dinesh Thakur Category: C Programming (Pratical)

In this program user will find out the average of students scores. To perform this action the required info and variables are essentials. Like user declare array type variable and float type that will contain the value to be declared. After that user ask to enter the value like subject marks in the end process user add all the scores and divide them all with total subjects to find out the average of students. And to use printing method shown out the result on the screen.

 
by Dinesh Thakur Category: C Programming (Pratical)

In this program user asks to convert all characters that are contained in a file to uppercase. To make this process user need to make a file and fill up some characters in it for operation. User declares the variables. And then put up a function to open file and also fill up character in it. Then if condition checks whether the file exists or not if the condition goes true then the program will terminate because file does not exist or then after while condition checks out the file and character and put up the condition to convert it into uppercase. Display the result on the screen.

 

Page 5 of 18



Subscribe To Free Daily Newsletter!

Get Free News Updates Delivered Directly To Your Inbox
About Dinesh Thakur

Dinesh ThakurDinesh Thakur holds an B.SC (Computer Science), MCSE, MCDBA, CCNA, CCNP, A+, SCJP certifications. Dinesh authors the hugely popular Computer Notes blog. Where he writes how-to guides around Computer fundamental , computer software, Computer programming, and web apps. For any type of query or something that you think is missing, please feel free to contact us.



What's New and Popular





Search Content







Advance Courses



Basic Courses



Advertise with Us