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

There is an escalator that is 1085.5 feet long and drops a vertical distance of 194.7 feet. What is it’s angle of depression
8x-5y=15 6x+4y=43solve the system by any method​
Prove that if n is an odd integer, then n^2 + 1 is an even integer.
Pls answer me this (WILL MARK BRAINLIEST)
what is petroleum???? #saud​
Why do sunspots appear as dark spots on the surface of the Sun?​
Rephrase the sentences.use the prompts. Plz hlp meee!! Plz
Congress' vote to override President Johnson's veto of the Continuation of the Freedman's Bureau and the Civil Rights Act of 1866 is an example of
do you guys skate? and can you guys do tricks
please help w math…