#include<iostream>
using namespace std;
int main(int argc,char *argv[]){
int num1,num2;
cout << "Enter the first number" << endl;
cin >> num1;
cout << "Enter the second number" << endl;
cin >> num2;
cout << "(" << num1 << " " << num2 << " )\n";
return 0;
}
A C++ program can be used to write C programs that will display 10 lines of biodata. Many types of C programming can be written with a C++ program.
Yes and no, program development works in programming codes which are specifically made for humans to be entered, a program can write these programming codes too. The thing is, you would need to write the programming codes yourself before the program can use it in program development. If a program could invent the wheel, then you still need to invent that wheel before the program can. Or atleast until the thinking of the human brain can be translated into mere programming code.
write a program to display your name age class schoolname e-mail 2hobby based on choice
Faisal
write a program in C that prompts the user with the following lines: a) Add two integers c) Compare two integers for the larger t) Test an integers for odd or even q) Quit
I am very tempted to write a program to display something rude about your teacher to get you in trouble. I have chosen not too but will give you a hint that will require you to do a small amount of reading and a small amount of thinking. Hello world Programming require reading and thinking, get used to it.
To write a program that accepts 5 integers in an array and calculates the average of the first three, you can follow these steps: First, create an array to hold the 5 integers. Then, prompt the user to input the integers and store them in the array. Finally, compute the average of the first three integers by summing them and dividing by 3, and display the result. Here’s a simple example in Python: numbers = [int(input("Enter integer {}: ".format(i + 1))) for i in range(5)] average = sum(numbers[:3]) / 3 print("Average of the first three integers:", average)
Write a program to find the number and sum of all integers from 100 to 300 that are divisible by 11
programming language paradigm
To write a C++ program to display the student details using class and array of object.
Write a program which takes the temperature in farhenheight.the program should display the farhenheight temperature as well as centigrade. C= (f-32)*5/9
Yes, you can write a "hello world" program without an operating system using bare metal programming. This involves directly interfacing with the hardware of a computer system without an intermediary operating system. The program can be written to access and output text to a display device without the need for an OS.