Calculator in Java
Calculator Source Code package calculator ; import java . util . Scanner ; public class calculator { public static void main ( Stri…
Calculator Source Code package calculator ; import java . util . Scanner ; public class calculator { public static void main ( Stri…
Tower of Hanoi in C #include<stdio.h> void towerofHanoi(int n, char from_rod, char to_rod, char aux_rod) { if(n==1) { printf(…
String Operations #include <string.h> #include <stdlib.h> #include <stdio.h> void com2str ( char str1 [ 100 ], char str2 [ 100 …
Square Root /*#include<stdio.h> #include<math.h> #include<stdlib.h> int main() { int n; float sqrt, temp; printf("Enter a val…
Structures #include <stdio.h> #include <conio.h> struct student { char usn [ 50 ]; char name [ 50 ]; int marks ; } s [ …
Binary To Decimal //Binary to decimal #include <stdio.h> int convert ( int ); void main () { int dec , bin ; printf ( "Enter …
Pointer #include <stdio.h> #include <math.h> void main () { float a [ 10 ],* ptr , mean , std , sum = 0 , sumstd = 0 ; int n …
Simple Calculator in C #include <stdio.h> void main () { int num1 , num2 ; /*Declaration of variables*/ float result = 0 ; /…
Palindrome Program in C What is Palindrome Number? A Palindrome number is a number which reverse is equal to the original number means number itself…
Vowel and Consonants in C #include <stdio.h> void main () { char alphbt ; printf ( "Enter an alphabet: \n " ); scanf (…
Binary Search in C //Binary Search #include <stdio.h> void main () { int i , n , a [ 10 ], mid , low , high , key , found = 0 , position …
Matrix Multiplication in C //Matrix multiplication #include <stdio.h> void main () { int m , n , p , q , i , j , k , a [ 10 ][ 10 ], b [ …
Connect With Us and Learn awesome programming concepts.