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
maks197457 [2]
3 years ago
13

The Power of If Worksheet

Computers and Technology
2 answers:
Crazy boy [7]3 years ago
6 0
Def main





Name = input
sattari [20]3 years ago
3 0

Answer:

def main():

  name = input("Enter your name: ")

  age = input("Enter your age: ")

  color = input("Enter you favorite color: ")

  birth = input("Enter your birthday: ")

  print(name + " is "+age+" year(s) old.")

  print(name + "'s favorite color is "+color)

  print(name + " was born on "+ birth)

main()

I hope this helps! The code runs perfectly fine for me.

Explanations:

You might be interested in
Jason is a computer hardware engineer. His work involves assembling computers. What will Jason need to assemble a microcomputer
d1i1m1o1n [39]
He will need a screw driver with interchangeable bits and a anti-static wrist band (optional)
6 0
3 years ago
Read 2 more answers
Write a program that converts degrees Fahrenheit to Celsius using the following formula. degreesC = 5(degreesF – 32)/9 Prompt th
weeeeeb [17]

Answer:

Written in Python

import math

degreesF = float(input("Enter a temperature in degrees Fahrenheit: "))

degreesC = round(5 * (degreesF - 32)/9,1)

print(degreesC)

Explanation:

The following header allows you to use Math.Round() method in Python

import math

The following prompts the user for temperature in degrees Fahrenheit

degreesF = float(input("Enter a temperature in degrees Fahrenheit: "))

The following calculates the degree Celsius equivalent and also round it up

degreesC = round(5 * (degreesF - 32)/9,1)

The following prints the degree Celsius equivalent

print(degreesC)

5 0
3 years ago
write a program that reads in the length and the width of a rectangular yard . your program should compute the time required ( i
sveticcg [70]
Here's on C:
#include<stdlib.h> 
<span>#include<stdio.h> </span>
<span>#include<conio.h> </span>
<span>long YardArea=0,HouseArea=0; </span>
<span>int YardLength=0,YardWidth=0,HouseLength=0,HouseWidth=0; </span>
<span>long GroundArea=0; </span>
<span>int TimeReqierd=0; </span>
<span>int GrassCutRate=2; </span>
<span>void main() </span>
<span>{ </span>
<span>char inp[256]; </span>
<span>clrscr(); </span>
<span>printf("your text text\n");  // put your greetings</span>
<span>printf("Input the leght of the yard\n"); </span>
<span>gets(inp); </span>
<span>YardLength= atoi(inp); </span>
<span>printf("input the width of the yard\n"); </span>
<span>         gets(inp); </span>
<span>YardWidth=atoi(inp); </span>
<span>    printf("input the length of the house\n"); </span>
<span>         gets(inp); </span>
<span>HouseLength=atoi(inp); </span>
   printf("input <span>the width of the house\n"); </span>
<span>         gets(inp); </span>
<span>HouseWidth=atoi(inp); </span>
<span>HouseArea=HouseWidth *HouseLength ; </span>
<span>YardArea=YardWidth* YardLength; </span>
<span>GroundArea=YardArea-HouseArea; </span>
<span>   TimeReqierd=GroundArea/GrassCutRate; </span>
<span>printf("%s%d","Grass Area is ",GroundArea); </span>
<span>printf("%s%d seconds"," \n time required to cut it out " ,TimeReqierd); </span>
<span>getchar(); </span>
<span>} </span>
3 0
3 years ago
Your company has been using Windows workgroups on a server running Windows Server 2016. Due to the rapid growth of the company,
Vesna [10]

Answer:

It is an excellent decision to change to active directory

Explanation:

Active Directory offers the following advantages, for optimal customer response:

Main objects (users, groups, units, organization).

Security (groups, NTFS - permits, audit)

Integration (-windows services, Microsoft applications)

Administration (centralized and delegated)

Scalability (domain, tree, forest)

All the above helps us to control access to files.

3 0
4 years ago
A year in the modern Gregorian Calendar consists of 365 days. In reality, the earth takes longer to rotate around the sun. To ac
denpristay [2]

Answer:

import java.util.Scanner;

public class LabProgram {

   public static void main(String[] args) {

       Scanner scnr = new Scanner(System.in);

       int inputYear;

       boolean isLeapYear;

       isLeapYear = false;

       inputYear = scnr.nextInt();

       // If a year is divisible by 400,  then it is a leap year

       if (inputYear % 400 == 0)

           isLeapYear = true;

       // If a year is divisible by 100,  then it is not a leap year

       if (inputYear % 100 == 0)

           isLeapYear = false;

       // If a year is divisible by 4,  then it is a leap year

       if (inputYear % 4 == 0)

           isLeapYear = true;

       if(isLeapYear)

           System.out.println(inputYear + " is a leap year.");

       else

           System.out.println(inputYear + " is not a leap year.");

   }

}

Explanation:

If a year is divisible by 400,  then set the boolean isLeapYear to true. If a year is divisible by 100,  then set the boolean isLeapYear to false. If a year is divisible by 4,  then set the boolean isLeapYear to true.

Check if isLeapYear is true, then print that it is a leap year. Otherwise, print that it is not a leap year.

Output:

1712

1712 is a leap year.

5 0
3 years ago
Read 2 more answers
Other questions:
  • Is it possible to increase watch hours for a channel by making a playlist out of your videos for people to watch? Will it boost
    13·1 answer
  • If someone were unable to pay cash right now, which financing option would be best for the laptop and for the refrigerator?
    10·2 answers
  • Which AWS service is a managed service that makes it easy to set up, operate, and scale a relational database in the cloud?​
    9·1 answer
  • Which type of natural hazard is sometimes caused by human activity?
    6·1 answer
  • How is the EF​ computed? A. ES​ + Activity time B. LF minusActivity time C. ​Min{LS of all immediate following​ activities} D. ​
    11·1 answer
  • What are the basic problem that my pc can have?
    14·1 answer
  • 3. Find the product of (a² +3a+5) x (a+7)​
    7·1 answer
  • Discuss whether the redundant data should be addressed prior to beginning the wireless network architecture project, in coordina
    11·1 answer
  • Which of the following files has the Ionic styles? ionic.bundle.css ionic.js ionic.css ionic.bundle.js
    13·1 answer
  • Consider an allocator on a 32-bit system that uses an implicit free list. Each memory block, either allocated or free, has a siz
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!