top of page
Search
The Tech Platform
Jun 29, 2021
Write a Program to find the LCM of a given number in C.
Code: #include <stdio.h> int main() { int a, b, x, y, t, gcd, lcm; printf("Enter two integers\n"); scanf("%d%d", &x, &y); a = x; b = y;...
The Tech Platform
Jun 26, 2021
Write a Program to Find the Area of Triangle in C
Code: #include<stdio.h> int main() { int h, b; float area; printf("\nEnter the height of the Triangle: "); scanf("%d", &h);...
The Tech Platform
Jun 14, 2021
How to Create Class in C++
A Class is Building block in C++ which holds its own Data Members, Functions, and Methods , which can be accessed by creating a Class....
The Tech Platform
May 30, 2021
What are Constructors and Destructors in C++?
Constructors in C++ Constructors are special class functions which performs initialization of every object. The Compiler calls the...
The Tech Platform
May 8, 2021
Write C++ Program to Add two numbers.
#include <iostream> using namespace std; int main() { int x, y; int sum; cout<<"Adding Two Numbers"<<endl; cout << "Enter First number:...
The Tech Platform
May 8, 2021
Write C++ program to Multiply two Numbers.
#include <iostream> using namespace std; int main() { int x, y; int sum; cout<<"Multiplying Two Numbers"<<endl; cout << "Enter First...
The Tech Platform
May 8, 2021
Write C++ Program to Reverse the Digits of given Integer.
#include <iostream> using namespace std; int reverse_int(int x) { int res = 0; while(x != 0) { int pop = x % 10; x = x / 10; int...
The Tech Platform
Apr 21, 2021
Write a program to print numbers from 1 to 100?
Below is the program to print the Numbers from 1 to 100 in C++, C, Python3, C#, PHP and JavaScript. C++ // C++ program to How will you...
The Tech Platform
Apr 19, 2021
C++ Program to Make a Simple Calculator to Add, Subtract, Multiply and Divide Using switch case.
This program takes an arithmetic operator (+, -, *, /) and two operands from an user and performs the operation on those two operands...
The Tech Platform
Apr 9, 2021
C Programming Language
C is a procedural programming language. It was initially developed by Dennis Ritchie in the year 1972. It was mainly developed as a...
bottom of page