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
notsponge [240]
3 years ago
7

Who do you think would win a war? USA or Russia?

Computers and Technology
2 answers:
max2010maxim [7]3 years ago
7 0

Answer:

I think the USA will win because they are much more powerful than the Russia

Explanation:

ludmilkaskok [199]3 years ago
6 0

Answer:

USA

Explanation:

USA HAS MORE FIGHTING EXPERIENCE THAN RUSSIA

You might be interested in
An attribute is a(n)?
steposvetlana [31]

Answer:

hjqnajiwjahhwhaiwnaoai

6 0
3 years ago
Read 2 more answers
C++ coding, help
Zanzabum

Answer:

The program in C++ is as follows:

#include <fstream>

#include <iostream>

#include <iomanip>

using namespace std;

int main() {

 string filename;

 cout<<"Filename: ";

 cin>>filename;

 ifstream inFile(filename);

 if(!inFile) {

   cout << endl << "Cannot open file " << filename;

   return 1;  }  

 ofstream fout;

 ifstream fin;

 fin.open("invalid-numbers.txt");  

 fout.open ("invalid-numbers.txt",ios::app);  

 double sum = 0; int valid = 0; int invalid = 0;

 double num = 0;

 while(!inFile.eof()) {

   inFile >> num;

   if(num >= 0 && num<=110){   sum+=num; valid++; }

else{ invalid++;

if(fin.is_open()){

   fout<<fixed<<setprecision(2)<<num<<"\n";    }  }  }

 fin.close();

 fout.close();

 inFile.close();

 cout<<"Total values: "<<valid+invalid<<endl;

 cout<<"Invalid values: "<<invalid<<endl;

 cout<<"Valid values: "<<valid<<endl;

 cout<<"Average of valid values: "<<fixed<<setprecision(2)<<sum/valid<<endl;    

 double inv;

 ifstream inFiles("invalid-numbers.txt");

 while(!inFiles.eof()) {

   inFiles >> inv;

   cout<<inv<<"\n";

}

inFiles.close();

 return 0;

}

Explanation:

See attachment for source file where comments are used to explain each line

Download cpp
4 0
3 years ago
Is GLaDOS from portal 2 possible?
77julia77 [94]

Answer:

Explanation:Yes Glados 2 is posible.

8 0
4 years ago
The term 'dns' stands for
mamaluj [8]
A. Domain Name System
8 0
4 years ago
Read 2 more answers
I have no idea what I’m doing but this is for a class grade and also on Replit<br><br> Please Help!!
Tatiana [17]

Answer:

I've compiled some code below to help you out ;)

Explanation:

# Program make a simple calculator

# This function adds two numbers

def add(x, y):

   return x + y

# This function subtracts two numbers

def subtract(x, y):

   return x - y

# This function multiplies two numbers

def multiply(x, y):

   return x * y

# This function divides two numbers

def divide(x, y):

   return x / y

print("Select operation.")

print("1.Add")

print("2.Subtract")

print("3.Multiply")

print("4.Divide")

while True:

   # take input from the user

   choice = input("Enter choice(1/2/3/4): ")

   # check if choice is one of the four options

   if choice in ('1', '2', '3', '4'):

       num1 = float(input("Enter first number: "))

       num2 = float(input("Enter second number: "))

       if choice == '1':

           print(num1, "+", num2, "=", add(num1, num2))

       elif choice == '2':

           print(num1, "-", num2, "=", subtract(num1, num2))

       elif choice == '3':

           print(num1, "*", num2, "=", multiply(num1, num2))

       elif choice == '4':

           print(num1, "/", num2, "=", divide(num1, num2))

       

       # check if user wants another calculation

       # break the while loop if answer is no

       next_calculation = input("Let's do next calculation? (yes/no): ")

       if next_calculation == "no":

         break

   

   else:

       print("Invalid Input")

I got it from this link, https://www.programiz.com/python-programming/examples/calculator

3 0
2 years ago
Other questions:
  • If the polar bear were taken out of the food chain what would happen to the seal population
    10·1 answer
  • Which of the following are potential drawbacks to the Internet in regard to politics? Select all that apply. Overexposure of can
    10·2 answers
  • Type the correct answer in the box. Spell all words corre ctly.
    15·2 answers
  • Create a program in c/c++ which accepts user input of a decimal number in the range of 1 -100. Each binary bit of this number wi
    9·1 answer
  • For which is a chart legend used?
    8·1 answer
  • Ria and her team ....................... they will win. *
    8·1 answer
  • I’ll give Brainly if u answer all please <br> ASAP
    12·1 answer
  • What is a new option in PowerPoint 2016 that provides the ability to add multiple pictures into a slide, complete with transitio
    7·2 answers
  • When adding new hardware, such as a printer, to a computer you often have to add associated software that allows the printer to
    6·1 answer
  • Moses wants to update the interface of a router. He plans on having a check on the current running configuration file and then w
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!