Do While Loop Example Program In C++

  #include<iostream> #include<conio.h> using namespace std; int main() { // Variable Declaration int a; // Get Input Value cout<<“Enter the Number :”; cin>>a; int counter = 1; //Do while Loop Block do { cout<<“Execute Do While “<<counter<<” time”<<endl; counter++; }while (counter <= a); // Wait For Output Screen getch(); return 0; }   Output : … Read more

While Loop Example Program In C++

  #include<iostream> #include<conio.h> using namespace std; int main() { // Variable Declaration int a; // Get Input Value cout<<“Enter the Number :”; cin>>a; int counter = 1; //while Loop Block while (counter <= a) { cout<<“Execute While “<<counter<<” time”<<endl; counter++; } // Wait For Output Screen getch(); return 0; }   Output : Enter the … Read more

how to write For Loop Example Program In C++

Hello friends, Welcome to your Techgsr.co blog. And today in this article we will learn about  how to write For Loop Example Program In C++ .So let’s go to our topic #include<iostream> #include<conio.h> using namespace std; int main() { // Variable Declaration int a; // Get Input Value cout<<“Enter the Number :”; cin>>a; //for Loop Block … Read more

how to write if..else Statement Example Program In C++

Hello friends, Welcome to your Techgsr.co blog. And today in this article we will learn about  how to write if..else Statement Example Program In C++.So let’s go to our topic #include<iostream> #include<conio.h> using namespace std; int main() { // Variable Declaration int a; // Get Input Value cout<<“Enter the Number :”; cin>>a; //If Condition Check if(a … Read more

how to write First cpp program

Welcome to our blog techgsr.co . Here, you can learn basic concepts of cpp programming interview questions and also from basic to advanced levels programs. This cpp tutorial is specially designed for beginners and experienced. It will guide you step by step to learn every concept of the in cpp programming language. We have taken great … Read more

How to find factorial of a given number using C++ program | techgsr

Welcome to our blog post In this program, we will learn program how to find factorial of a given number using C++ program? Here, we will implement this program with and without using user define function.   Logical Part of program: Input a number Initialize the factorial variable with 1 Initialize the loop counter with N (Run … Read more

software engineering mcq questions

Multiple Choice Questions and Answers:- 1.Identify, from among the following, the correct statement. (a) One of the main challenges Software Engineering facing today is the requirement of most software systems to work with a multitude of homogenous systems (b) ‘Legacy systems’ are custom developed software systems for the legal domain (c) Software does not wear-out … Read more

unix mcq question and answer

Unix Operating System Multiple Choice Questions with Answers:- 1. Unix OS was first developed by a. Dennis Ritchie b. Bjarne stroustrup c. Ken Thompson d. Brian Kernighan Ans.C 2. Unix OS was first developed at a. Microsoft corp. USA b. AT & T Bell Labs, USA c. IBM, USA d. Borland International, USA Ans.B 3. … Read more

computer fundamentals mcq questions and answers

 Multiple Choice Questions with Answers :-             1. UNIVAC is A) Universal Automatic Computer B) Universal Array Computer C) Unique Automatic Computer D) Unvalued Automatic Computer  Answers  .A 2. The basic operations performed by a computer are A) Arithmetic operation B) Logical operation C) Storage and relative D) All the above  Answers  .D 3. The … Read more