Q:

Write a program in C++ to print a welcome text in a separate line

-1

Write a program in C++ to print a welcome text in a separate line

Print a welcome text in a separate line :                             
----------------------------------------------                         
 Welcome to                                                            
 nerdutella.com

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

#include <iostream>
using namespace std;
 
int main()
{
    cout << "\n\n Print a welcome text in a separate line :\n";
	cout << "----------------------------------------------\n";
    cout << " Welcome to \n" ;
    cout << " w3resource.com "<<endl ;
    
}

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now