ALGORITHM: 1. Start 2. Declare variables 3. Read the number of persons and their height and weight. 4. Calculate BMI=W/H 2 for each person 5. Display the output of the BMI for each person. 6. Stop PROGRAM: #include<stdio.h> #include<math.h> int main(void){ int n,i,j; printf("How many people's BMI do you … Continue reading C PROGRAM TO FIND THE BODY MASS OF THE INDIVIDUALS
Author: Shanthosh Lakshman
C PROGRAM TO PERFORM REVERSE OF A GIVEN STRING
ALGORITHM: 1. Start 2. Declare variables . 3. Read a String. 4. Check each character of string for alphabets or a special character by using isAlpha() . 5. Change the position of a character vice versa if it is alphabet otherwise remains same. 6. Repeat step 4 until reach … Continue reading C PROGRAM TO PERFORM REVERSE OF A GIVEN STRING
C Program To Conversion of Decimal number into other bases
ALGORITHM: 1. Start 2. Declare variables. 3. Read a decimal number. 4. Develop the procedure for conversion of different base by modulus and divide operator. 5. Display the output of the conversion value. 6. Stop PROGRAM: #include<stdio.h> #include<stdlib.h> int main(){ int a[10],n,i; system ("cls"); printf("Enter the number to convert: … Continue reading C Program To Conversion of Decimal number into other bases
C Program To Check Amstrong Number
ALGORITHM: 1. Start 2. Declare variables 3. Read the Input number. 4. Calculate sum of cubic of individual digits of the input. 5. Match the result with input number. 6. If match, Display the given number is Armstrong otherwise not. 7. Stop. Program: #include <stdio.h> #include <math.h> void … Continue reading C Program To Check Amstrong Number
How to run c program in linux terminal
STEP 1 First of all we need to install the build-essential packages. To copy the following commands in linux terminal. sudo apt-get install build-essential STEP 2 Secondly open any text editor type your program code and save it in .c extension. Sample code: #include <stdio.h> int main() { int n, i, flag = 0; printf("Enter … Continue reading How to run c program in linux terminal
How to install woeusb in linux mint
Free and open source essential softwares for linux distros
Are you bored in windows? The best and free alternative for windows is linux. There are large number of linux distros in internet. I’m personally suggest linux mint and zorin os for windows alternative. In this blog I tried to show free and open source linux essential apps. In addition, we’ve categorized the apps as well … Continue reading Free and open source essential softwares for linux distros
How to download and install WoeUSB on Ubuntu/Linux Mint or a Debian Linux distribution
What is WoeUSB? WoeUSB is a utility for Linux that can help you create bootable Windows USB sticks from Windows ISO images or from a CD and DVD containing bootable Windows. The below-given steps to install WoeUSB on Linux will be the same for Ubuntu 20/19.10/19.04/18.10/18.10/17/16, Linux Mint, Debian and other same stream Linux distros. WoeUSB … Continue reading How to download and install WoeUSB on Ubuntu/Linux Mint or a Debian Linux distribution