1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Leokris [45]
3 years ago
5

Please help!!!!!!!!!!!!!!!!!!!!!

Computers and Technology
1 answer:
Aloiza [94]3 years ago
4 0
1.
#include <iostream>#include <string>
using namespace std;
int main(){    string chars; // This is where we will put our @ signs and print them    for(int x=0;x < 5; x++){
        chars = chars + '@'; // This will concatenate an @ sign at the end of the variable        cout << chars << "\n";    }}

2.
#include <iostream>#include <string>
using namespace std;
int main(){    string name; // Our variable to store the name    cout << "What is your name? \n"; // Asks the user for their name    cin >> name;    cout << "\nWell, hello " << name << "!";}

3.
#include <iostream>#include <string>
using namespace std;
int main(){    int number; // Our variable    cout << "Enter a number\n"; // Asks for a number    cin >> number;    cout << "You entered " << number << "%!";}

4.
#include <iostream>#include <string>
using namespace std;
int main(){    int number; // Our variable    cout << "Enter a number\n";    cin >> number;
    int check = number % 2; // The modulo operator (the percent sign) gets the remainder of the quotient    if (check == 0) {        cout << number << " is even!"; // If the remainder is 0 then it prints out "x is even"    } else {        cout << number << " is odd!"; // If the remainder is not 0 then it prints out "x is odd"    }}

5.
#include <iostream>#include <string>
using namespace std;
int main(){    float r; // Our variable    cout << "Enter a radius\n";    cin >> r;    if (r < 0){        cout << "Lol. No."; // If the radius is less than zero print out that message    }    float circumference=2*3.14*r;    float area=r*r*3.14;    cout << "\n\n Circumference of circle: " << circumference;    cout << "\n Area of circle: " << area;}
You might be interested in
9.A major step before taking print of the document is (3 points)
olya-2409 [2.1K]

Answer:

Uhyuuuuufuddirueueurururururru

8 0
3 years ago
In what way do coastal mountains affect a regions climate
Inessa [10]

Their climate's will differ because one is on the coast so winds off the ocean often prevent extremes of hot and cold. This coastal areas have mild marine climates, with relatively mild winters and cool summers, and the Mountain ranges in a path of prevailing winds affect precipitation on either side of a mountain.

3 0
3 years ago
Read 2 more answers
The radial gradient option creates a gradient that shades from the starting point to the end point in a _________ pattern.
rusak2 [61]

Answer:

The correct answer is <u>Circular</u>

I hope this helps! ^-^

7 0
2 years ago
Which word pairs are both principles of HCT?
Dimas [21]

Answer:

network engineering and game programming

8 0
3 years ago
How does the practice of storing personal genetic data in privately owned computer databases raise issues affecting information
frozen [14]

Answer:company privacy policy change, third party access, non-effective laws, database hacking

Explanation:

Company privacy policy:company privacy policy protecting consumer information may not be strong enough, and may also change unfavourably in the future depending on certain factors.

Third party access: company may be pressurized by law enforcement/government to release genetic data for state purposes.

Non-effective laws: state laws guarding genetic information of individuals might not be broad enough as to be effective.

Database hacking: company/private database might be a victim of computer hacking.

8 0
4 years ago
Other questions:
  • Explain why computer users should use the cloud?
    14·1 answer
  • Why does hamlet want to kill himself and what stops him from doing that?
    10·1 answer
  • What could cause a fixed disk error.
    15·1 answer
  • You would like to find the average of cells C2, C3, and C4. What should the formula look like? = C2+C3+C4*3 =C2+C3+C4/3 =(C2+C3+
    15·2 answers
  • If you get a flat tire on the side of the road, what do you do.
    6·1 answer
  • Ben is writing a paper for his college history class, and he wants to include some information he found on a Web site. What are
    5·1 answer
  • How does calculate() work?
    6·2 answers
  • Predict the future that social media will have on society or the environment
    12·1 answer
  • Can anyone fix this code for me?
    8·1 answer
  • A classic game, Wario Land, has an invincible main character who reacts to the environment in order to solve puzzles. So, for ex
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!