GradePack

    • Home
    • Blog
Skip to content
bg
bg
bg
bg

GradePack

Write the output of the following program : include using na…

Write the output of the following program : include using namespace std; int main() {    int arr[10] = {2,1,2,1,2,1,2,1,2,1};    int sum = 0;    for (int i = 0; i < 10; i += 2) {        sum += arr[i];    }    cout

Read Details

How many times the text “Hi” will be printed : #include usin…

How many times the text “Hi” will be printed : #include using namespace std;int main() {   int i = 10;while (i < 15) {    cout

Read Details

Write the output of the following code : #include using name…

Write the output of the following code : #include using namespace std; int main() {    int x = 3, y = 7;    if (x > 0 || y < 5)        cout

Read Details

Mark the following statement as True /False. The while loop…

Mark the following statement as True /False. The while loop will never execute, if the loop condition is false.

Read Details

Choose the output : #include using namespace std; int value(…

Choose the output : #include using namespace std; int value(int &num) {    num += 2;    return num;} int main() {    int x = 7;    value(x);    cout

Read Details

Write a program that:     1.Accept 9 numbers to  a 3×3 integ…

Write a program that:     1.Accept 9 numbers to  a 3×3 integer array from the user as  input.     2. Define a function to calculate and print the average of each row.      3.Defines another function to calculate and print the average of each column.      4. Displays the averages row-wise and column-wise. SAMPLE OUTPUT : Enter 9 integers for 3×3 array : 1  2   3 1  3   2 5   1   2 Average of Row 1: 2 Average of Row 2: 2 Average of Row 3: 2.6 Average of Column 1 : 2.3 Average of Column 2: 2 Average of Column 3: 2.3  

Read Details

Write the output of the following program : #include using n…

Write the output of the following program : #include using namespace std; int main() {   int x = 9;    if (++x == 10)      cout

Read Details

Write the output of the following code : #include using name…

Write the output of the following code : #include using namespace std; int main() {    int arr[4] = {10, 20, 30, 40};    for (int i = 3; i >= 0; i–) {        cout

Read Details

Lucia Winters has Graves’ disease. Which endocrine gland is…

Lucia Winters has Graves’ disease. Which endocrine gland is this condition associated with?

Read Details

A patient comes to the office with main symptom of heart bur…

A patient comes to the office with main symptom of heart burn after eating a heavy spicy meal. Explain the most probable mechanism of this patient symptom.

Read Details

Posts pagination

Newer posts 1 … 37,339 37,340 37,341 37,342 37,343 … 94,540 Older posts

GradePack

  • Privacy Policy
  • Terms of Service
Top