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
qwelly [4]
3 years ago
15

Edhesive code practice 3.2 questions 1 , 2 , 3

Computers and Technology
1 answer:
ElenaW [278]3 years ago
4 0

Answer:

Question 1 :Write a program to enter a number and test if it is greater than 45.6 Example:

Answer:

#include <iostream>

using namespace std;

int main()

{

 int user_number=0;

 cout<<"Enter a number ";

cin >> user_number;

if(user_number >45.6){

   cout <<"Greater than 45.6";

}

   return 0;

}

Question 2: Test if a number grade is an A (greater than or equal to 90). If so print "Great!"

Answer:

#include <iostream>

using namespace std;

int main()

{

   int user_number=0;

   cout<<"Enter a number ";

cin >> user_number;

if(user_number >= 90){

   cout <<"Great";

}

   return 0;

}

Question 3: Test if a password entered is correct. The secret phrase is Ada Lovelace.  

Answer:

#include <iostream>

#include <string>

using namespace std;

int main()

{string pass_phrase ="Ada Lovelace";

   string user_password="";

   cout<<"Enter password ";

   getline (cin, user_password);

if(user_password == pass_phrase){

   cout <<"Correct";

}

else{

   cout <<"Incorrect";

}

   return 0;

}

Explanation:

You might be interested in
While the Internet can be a great resource, the information is not always reliable, as anyone can post information. Select one:
Olin [163]

Answer: True

Explanation: Because anyone can post something and it can be non reliable

7 0
3 years ago
An argument does not always have to be made in words. A piece of music
mixas84 [53]

Answer:

B. emotional

Explanation:

An emotional argument. An argument does not always have to be made in words.

4 0
3 years ago
How does collaborating on a project improve its quality?
Serga [27]
Several different collaborations on a project introduce variety, perspective and give the people working together communication skills for business in the future.
7 0
3 years ago
A network technician is setting up a wireless access point in the front office of a small company. The technician needs to disab
VladimirAG [237]

Answer:

He should disable UPnP technology to disallow devices to dynamically add themselves to the network without configuration.

Explanation:

  • UPnP stands for Universal Plug n Play.
  • It is an easiest way that allows gadgets to find all other devices connecting to your network.
  • This can also modify router settings to allow devices from outside the network to access the router.
  • External IP address can also be obtained by the gadget and a new port forwarding map can be set
  • So from all perspectives, UPnP is an open invitation for hackers to scan for the ports and hack into the device.
  • UPnP is a vulnerability to the secure system
6 0
3 years ago
Any song recommendations, pls dont say 6ix9ine or lil pump
gogolik [260]

I actually do have one tho. Try Megan Tha Stallion.

8 0
3 years ago
Read 2 more answers
Other questions:
  • Describe the difference between Global knowledge and personal idea. Why is it important to give credit to others by citing their
    6·1 answer
  • How can i become an expert in computer and technology?
    15·2 answers
  • Which type of computer operating system would be best for a large corporation?
    7·2 answers
  • A type of backlight technology most commonly used in modern laptop devices is called____________.
    9·1 answer
  • I have wings, I am able to fly, I‘m not a bird yet I soar high in the sky. What am I?
    14·2 answers
  • Which of the following IS true about usnig the Hatch command ?
    15·1 answer
  • What happens if you have you an image that has 6 bits-per-pixel and you change it to 12
    6·1 answer
  • Users at UC need to be able to quickly create a Resource record from the Project record's Chatter feed How should the App Builde
    10·1 answer
  • 3) The director tells you to truck left, you must:
    10·1 answer
  • 40 points for this question
    7·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!