Page not found
Search results
C program to shut down or turn off computer
C program to shut down your computer, i.e., to turn off a computer system. ... to run an executable file "shutdown.exe" which is present in C:\WINDOWS\system32 folder in Windows 7 & XP. See Windows XP and Linux programs ... = window.adsbygoogle || []).push({}); C program for Windows 7 #include <stdio.h> #include <stdlib.h> ...
devyog - 18/11/2019 - 22:17
Pascal triangle in C
C program to print the Pascal triangle that you might have studied while ... || []).push({}); Pascal triangle program in C language #include <stdio.h> long factorial ( int ... int main ( ) { int i , n , c ; printf ( "Enter the number of rows you wish to see in ...
devyog - 09/10/2020 - 23:22
C programming
To quickly learn C language you must start writing programs in it. To do so you need a text ... machine code that can be executed directly on a machine. Dev C++ IDE is a good choice, so if you are not having it installed on your computer then download Dev C++ compiler . (adsbygoogle = ...
devyog - 10/12/2019 - 20:37
clrscr in C
Function "clrscr" (works in Turbo C++ compiler only) clears the screen and moves the cursor to the upper ... use system function to execute the clear/cls command. C programming code for clrscr #include<stdio.h> ... will be printed. Function clrscr doesn't work in Dev C++ compiler. Use the cleardevice function instead of clrscr in graphics ...
devyog - 05/12/2019 - 23:07
Armstrong number in C
Armstrong number C program to check whether a number is an Armstrong number or not, it's a ... then the number is an Armstrong number otherwise not. C program to print Armstrong numbers ... + 1 + 823543 +128 + 78125) Armstrong number program in C #include <stdio.h> int power ( int , int ) ...
devyog - 12/12/2019 - 21:06
C program to sort a string in alphabetic order
C program to sort a string in alphabetic order: For example, if a user inputs a ... = window.adsbygoogle || []).push({}); C program #include <stdio.h> #include <stdlib.h> #include ... int no [ 26 ] = { 0 } , n , c , t , x ; printf ( "Enter some text \n " ) ; ...
devyog - 23/11/2019 - 11:40
Fibonacci series in C
Fibonacci series in C using a loop and recursion . You can print as many terms of the series as ... || []).push({}); Fibonacci series program in C #include <stdio.h> int main ( ) { int ... , first = 0 , second = 1 , next , c ; printf ( "Enter the number of terms \n " ) ; ...
devyog - 25/10/2020 - 23:45
Area of a triangle in C
C program to find the area of a triangle using Heron's or Hero's formula. The ... The program assumes that a user will enter valid input. C program to find area of a triangle #include <stdio.h> #include ... int main ( ) { double a , b , c , s , area ; printf ( "Enter sides of a triangle \n ...
devyog - 23/11/2019 - 11:40
Selection sort in C
Selection sort in C to sort numbers of an array in ascending order. With a little modification, ... || []).push({}); Selection sort program in C #include <stdio.h> int main ( ) { int array [ 100 ] , n , c , d , position , t ; printf ( "Enter number of ...
devyog - 25/10/2020 - 14:26
Print an int (integer) in C
How to print an integer in C language? A user inputs an integer, and we print it. Input is done using ... and the number is printed on screen using printf. C program to print an int (integer) #include <stdio.h> int ... Output of the program: C program to print first hundred positive integers [1, 100] using a for loop: ...
devyog - 12/10/2020 - 22:40