Computer Science, asked by badboy8757, 6 months ago

write a basic c++ program​

Answers

Answered by Anonymous
19

 \huge\boxed{\underline{\mathcal{\red{A}\green{N}\pink{S}\orange{W}\blue{E}\purple{R}}}}

INPUT:

#include <iostream.h>

#include <conio.h>

void main()

{

clrscr( );

cout <<\n "Hello World";

getch( );

}

OUTPUT:

Hello world

Answered by goswamisunita509
4

Answer:

Now that you have a compiler installed, its time to write a C++ program. Let's start with the epitome of programming example's, it, the Hello world program. We'll print hello world to the screen using C++ in this example. Create a new file called hello.cpp and write the following code to it −

#include<iostream>

int main() {

std::cout << "Hello World\n";

}

Similar questions