Write a C++ program without using any loop (if, for, while
etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not
use 200 print statements!!!)
No Answer is Posted For this Question
Be the First to Post Answer
what isthe difference between c structure and c++ class
What is a mixin class?
program in c++ that can either 2 integers or 2 floating point numbers and output the smallest number
what is the sylabus for priliminaries?
create a c++ program that will ask 10 numbers and display their sum using array.
What is the types of inheritance?
What is an object?
There are 2 empty jars of 5 and 3 liters capacity. And a river is flowing besides. I want to measure 4 liters of wanter using these 2 jars. How do you do this?
#include <iostream> using namespace std; int main() { int a = 2; int c[5][5]; for (int x=0;x<5;x++) { for (int y=0;y<5;y++) { c[x][y] = x*y; } } cout << c[a][c[1][4]]; }
What is the correct syntax for inheritance? 1) class aclass : public superclass 2) class aclass inherit superclass 3) class aclass <-superclass
why c++ is a highlevel language
3 Answers Satyam, Tech Mahindra,
How is the using() pattern useful? What is IDisposable? How does it support deterministic finalization?