Write a Program to print the sum of digits of a given number. #include <stdio.h> #include <conio.h> int main () { int no […]
Read moreTag: c programming
Write a Program to swap the values of two variables.
Write a Program to swap the values of two variables. #include <stdio.h> #include <conio.h> int main () { int a,b,t ; […]
Read moreWrite a Program to convet temperature from degree centigrade to farenheit. F = C * (9/5) + 32
Write a Program to convet temperature from degree centigrade to farenheit. F = C * (9/5) + 32 #include <stdio.h> #include <conio.h> int […]
Read moreWrite a Program to compute the addition , subtraction , product , quotent and remainder of two given numbers.
Write a Program to compute the addition , subtraction , product , quotent and remainder of two given numbers. Write a Program to compute the […]
Read moreProgram to Print Multiplication Table in C++
Program to Print Multiplication Table in C++ Program to Print Multiplication Table in C++ #include<iostream> using namespace std; int main(){ int number; cout<< “Enter the number for printing multiplication table”<< endl; cin >>number; // printing the multiplication number for(int i=1; i<11; i++){ cout<< number <<” X “ << i <<” = “<< number*i <<endl; } […]
Read moreInline Function in C++
Inline Function in C++ Inline Function in C++ Definition: An inline function is a function that is expanded in line when it is invoked. […]
Read moreAccess Specifiers in C++
Access Specifiers in C++ Access Specifiers in C++ Access specifier used to implement an important aspect of OOPs known as data hiding . Access […]
Read moreProgram To Find Simple Interest
Program To Find Simple Interest Program To Find Simple Interest #include<iostream> using namespace std; int main() { float P , R , T […]
Read moreFind the Sum of all Elements in Given Array
Find the Sum of all Elements in Given Array Find the Sum of all Elements in Given Array include <iostream> using namespace std; int […]
Read more
Recent Comments