Bawers Bawers
  • 18-09-2022
  • Computers and Technology
contestada

Write code that creates a variable called count that has the value of 102. The code then prints the value of count.

Respuesta :

TheDoctorOfStone
TheDoctorOfStone TheDoctorOfStone
  • 19-09-2022

I'm not really sure what language you want this in but since the usual language learnt in HS in C++, I'll do it in C++ and C

In C++ :

#include <iostream>

using namespace std;

int main()

{

     int count = 102;

     cout << "The value of count is" << count << endl;

    return 0;

}

In C:

#include <stdio.h>

int main()

{

    int count = 102;

    printf("The value of count is %d", count);

    return 0;

}

Answer Link

Otras preguntas

The change in electric potential energy per unit charge is A. voltage B. gravity C. amperes D. current
HELP ME PLEASE QUICK!!!!!!
Choose the French equivalent for the following word: for A: pour B: Par C: dans D: mais
i need help on this please asap.
write the slope intercept form 8x-3y=-6
when selecing a financial institution that is the best for you, you should consider
How might the snow-white berries be a kind of foreshadowing that adds tension to the story?
Whats the answer to X+14=7x+32-3x
Easy Bucks... For what values of y does the binomial 3y−5 belong to the interval (−1; 1)?
One effect of globalization is that more tourists are visiting remote places such as rain forests in South America and wildlife areas in Africa... how do you th