It should be noted that when writing an essay, it's important to effectively present the information to the readers.
Writing an essay.When writing the essay, the following steps are required:Create an essay outline.It's important to also develop a thesis statement.Introduce the topic.Then, write the body of the message The conclusion should be presented.It should be noted that when writing the essay, it's also important to integrate the evidence clearly and ensure that the grammar used is correct.
Learn more about essays on:
https://brainly.com/question/25607827
As a producer you are willing to supply the most goods at the highest price this is because the highest price earns you the
Answer:
most money
Explanation:
common sense
You should avoid storing files and folders on the blank
Answer:
why
Explanation:
Code a program that asks the user for a bank savings account balance and an annual interest rate that is paid to the account. You are to display what the balance will be after one year, after two years, and after three years. We can assume that the interest compounds annually (no need to ask for compounding criteria or use the natural number for continuously compounding interest, whew!) If the balance after adding the interest paid to the user exceeds $1000 then let the user know that they are now a silver bank club member. If it exceeds $5000 then let the user know that they are now a gold bank club member. If it exceeds $10000 then let the user know that they are now a platinum bank club member. If they qualify for any of these exclusive member statuses then you should tell them by how much they are exceeding the minimum balance for that status.
The interest rate will need to be input whole numbers (ex: 15), but *hint* remember that you will need to divide by 100 to obtain the rate expressed as a decimal.
A- The structure of the program must follow the sample programs provided in the text.
B- The program will need to provide clear, explicit instructions.
C- The program will need to display clear statements for the balance and exceeding amount for the exclusive club status for each year.
Answer:
is_silver = False
is_gold = False
is_premium = False
balance = float(input("Enter the balance: "))
rate = float(input("Enter the annual interest rate: "))
for i in range(3):
balance += balance * 0.15
print("The balance after " + str(i+1) + " year is $" + str(balance))
if balance > 10000 and is_premium == False:
print("You are now a premium bank club member.")
is_premium = True
print("You are exceeding " + str(balance - 10000) + "$ for that status")
elif balance > 5000 and is_gold == False and is_premium == False:
print("You are now a gold bank club member.")
is_gold = True
print("You are exceeding " + str(balance - 5000) + "$ for that status")
elif balance > 1000 and is_silver == False and is_gold == False and is_premium == False:
print("You are now a silver bank club member.")
is_silver = True
print("You are exceeding " + str(balance - 1000) + "$ for that status")
Explanation:
*The code is in Python.
Set the is_silver, is_gold and is_premium as False
Ask the user to enter the balance and rate
Create a for loop that iterates three times. Inside the loop:
Add the interest to the balance (cumulative sum)
Print the balance
Check the balance. If it is greater than 10000 and is_premium is False, state that the customer is a premium member, set the is_premium as True, and state how much s/he is exceeding the minimum balance for that status. If the balance is greater than 5000, is_gold is False and is_premium is False, state that the customer is a gold member, set the is_gold as True, and state how much s/he is exceeding the minimum balance for that status. If the balance is greater than 1000, is_silver is False, is_gold is False and is_premium is False, state that the customer is a silver member, set the is_silver as True, and state how much s/he is exceeding the minimum balance for that status.
Write a function index(elem, seq) that takes as inputs an element elem and a sequence seq and returns the index of the first occurrence of elem in seq. The sequence seq can be either a list or a string. If seq is a string, elem will be a single-character string; if seq is a list, elem can be any value. If elem is not an element of seq, the function should return the length of the sequence. Dont forget that the index of the first element in a sequence is 0. Here are some examples: >>> index(5, [4, 10, 5, 3, 7, 5]) solution
Answer:
def index(elem, seq):
for i in range(len(seq)):
if elem == seq[i]:
return i
return len(seq)
print(index(5, [4, 10, 8, 5, 3, 5]))
Explanation:
Create a function named index that takes elem and seq as parameters
Create a for loop that iterates through the seq. If elem is equal to the item in the seq, return the i, index of the item.
If the elem is not found in the seq, this means nothing will be returned in the loop, just return the length of the seq, len(seq)
Call the function with given parameters and print the result
Note: Since 5 is in the list in the example, the index of the 5 which is 3 will be returned
In this exercise we have to use the knowledge of computational language in Python, so we have that code is:
It can be found in the attached image.
What is an index in Python?An index, in your example, refers to a position within an ordered list. Python strings can be thought of as lists of characters; each character is given an index from zero to the length minus one.
So, to make it easier, the code in Python can be found below:
def index(elem, seq):
for i in range(len(seq)):
if elem == seq[i]:
return i
return len(seq)
print(index(5, [4, 10, 8, 5, 3, 5]))
See more about python at brainly.com/question/26104476
Choose all of the items that represent functions of an operating system.
1)manages peripheral hardware devices
2) runs software applications
3) manages user accounts and passwords
4) manages network connections
5) generates system error messages
Answer:
Its all 5 of them
Explanation:
Just did it on EDG
Answer:
all 5
Explanation:
all 5
Write a Console Java program that asks the user to enter one sentence on the keyboard. Output on the console:
1) The number of words in the sentence
2) A count of each alphabet in the sentence in alphabetical order (ignore zero counts, ignore Upper/Lowercase difference. That is, count 'A' and 'a' as the same) . Assume that the user will enter a sentence with alphabets. No need to validate user entry. Example: Sentence: This is a great Fall Semester Number of words: 6 a-3, e-4. f-1, g-1, h-1, i-2, l-2, m-1, r-2 , s-4, t-3
Answer:
Here is the JAVA program:
import java.util.Scanner; //to accept input from user
public class Main{ //class name
public static void main(String[] args){ //start of main function
String sentence; //to store the input sentence
int i, length; //declare variables
int count[] = new int[256]; //creates a counter array
Scanner input = new Scanner(System.in); //creates Scanner class object to accept input from user
System.out.println("Enter a sentence: "); //prompts user to enter a sentence
sentence = input.nextLine(); //scans and reads the entire sentence string from user
String[] words = sentence.split("\\s+"); //splits the sentence into an array with separator as one or more white spaces and stores this array in words
System.out.println("Number of words: " + words.length); //display the number of words in sentence by using length which returns the length of the words array
sentence = sentence.toLowerCase(); // converts the sentence into lower case to ignore case sensitivity
sentence = sentence.replaceAll("\\s+",""); //removes the empty spaces from sentence
length = sentence.length(); //stores the length of the sentence string into length variable
for (i = 0; i < length; i++) { //iterates through the length of the sentence
count[(int) sentence.charAt(i)]++; } //counts occurrence of each alphabet in the sentence and stores it in count array
for (i = 0; i < 256; i++) { displays occurrence of alphabet in sentence
if (count[i] != 0) { //if count array is not empty
System.out.println((char) i + "-" + count[i]); }}}}
//prints each alphabet and its count
Explanation:
The program prompts the user to enter a sentence. Suppose the user enters "We won" so
sentence = "We won"
Now this sentence splits into an array with white space as separator and stored in words array. So words array has two words of sentence now i.e. "We" and "won"
Next words.length is used to return the length of words array. So length of words array is 2 hence
number of words = 2
Next the sentence is converted to lower case and spaces are removes so sentence becomes:
wewon
sentence.length() returns the length of sentence which is 5.
Next the for loop is used. At each iteration of this loop occurrence each character of sentence is added to the count[] array. charAt() is used to return a character at each index position of string. So the frequency of every character is counted and stored in count array.
Next is a for loop that is used to display each alphabet in the sentence along with its frequency in alphabetic order.
Hence the entire program gives the output:
Number of words: 2 e-1 n-1 o-1 w-2
The screenshot of the output of example given in the question is attached.
Which change should she make in her outline?
Change Step 2 to “Click the Format tab.”
Change Step 3 to “Open the Chart Title dialog box.”
Change Step 4 to “Type in the chart title.”
Change Step 5 to “Add the Chart Title.”
Answer:
A
Explanation:
who could be involved in the murder of Mr Douglas
Answer:
Freedy Thopson
Explanation:
asking questions is super in this education life
A standard core of rules or specification is beneficial because ____.
A. all programmers involved in with a product can follow the same guidelines
B. A variety of styles is the best for the final part
C. Everyone’s code style is followed
D. Style changes with different subject matter
Answer:
The answer to this question is given below in the explanation section. However, the correct answer is A.
Explanation:
A standard core of rules or specification is beneficial because ____.
A. all programmers involved in with a product can follow the same guidelines
B. A variety of styles is the best for the final part
C. Everyone’s code style is followed
D. Style changes with different subject matter
The correct answer is
A standard core of rules or specification is beneficial because all programmers involved in with a product can follow the same guidelines .
Other options are not correct because a variety of styles is not prefered and used in software development, and everyone's code style can not be followed easily. Because programming style changes with different programmers, so it would not easy for other programmer to read and understand the code.
After applying transitions to his presentation, Omar uses the Slide Show feature to view the them. He notices that the transitions he applied do not occur between all the slides.
Which step did Omar forget to do?
Right-click the mouse.
Press the OK button.
Click the Apply To All button.
Uncheck the On Mouse Click box.
Answer:
Its C
Explanation:
On Edg
Answer: Click the apply to all button
Explanation:
Please Help Me
What kinds of solutions are proposed for different IT issues, and what are their advantages and disadvantages?
Answer:
There are three basic forms of business ownership: sole proprietorship, partnership and corporation. Each of these forms of business organization has advantages and disadvantages in such areas as setting up the company, paying taxes and assessing liability for business debts
Which of the following statements is true of wireless cellular networks? Check all of the boxes that apply.
They operate on a grid pattern.
They must conform to IEEE 802.11 standards.
They search for signals to confirm that service is available.
They provide voice communications and Internet connectivity.
Answer:
1,3,4
Explanation:
They operate on a grid pattern
They search for signals to confirm that service is available.
They provide voice communications and Internet connectivity.
Answer:1, 3, 4
Explanation:edge 2023
What steps should a user take to create a secondary address book?
Open the Backstage view and Account Settings.
Open the Backstage view, and click People options.
Open the People view, and click New Address Book.
Open the People view, click Folder tab, and click New Folder.
Answer:
It's A
Explanation:
correct on edg
Answer:
A is correct on edg
Explanation:
______ means locating a file among a set of files
Locating a file among set of flies is called file system.
5.24 LAB: Two smallest numbers Write a program that reads a list of integers, and outputs the two smallest integers in the list, in ascending order. The input begins with an integer indicating the number of integers that follow. You can assume that the list will have at least 2 integers and less than 20 integers. Ex: If the input is: 5 10 5 3 21 2 the output is: 2 3 To achieve the above, first read the integers into an array. Hint: Make sure to initialize the second smallest and smallest integers properly. 265236.1527390
Answer:
Here is the C++ program:
#include <iostream> //to use input output function
#include <vector> //to use vectors
using namespace std; //to identify objects like cin cout
int main() { //start of main method
int size, number; //to store size of list and input numbers
cout<<"Enter list size: "; //prompts user to enter size of the list
cin >> size; //reads list size from user
vector<int> v; //creates a vector named v
for (int i = 0; i < size; ++i) { //iterates till the size of list reaches
cin >> number; //reads the input numbers
v.push_back(number); } //push number into a vector from the back
int num1 = v[0], num2 = v[1], current , temp; //num1 is set to the element at 0-th position of v and num2 is set to be on 1st index of v
if (num1 > num2) { //if num1 is is greater than num2
temp = num1; //assigns value of num1 to temp
num1 = num2; //assigns value of num2 to num1
num2 = temp; } //assigns value of temp to num2
for (int i = 2; i < size; ++i) { //iterates size times
current = v[i]; //set current to the i-th index of v
if (current < num1) { //if current is less than num1
num2 = num1; //assigns value of num1 to num2
num1 = current; } //assigns value of current to num1
else if(current < num2) { //if value of current is less than num2
num2 = current; } } //assigns value of current to num2
cout<<num1<< " "<<num2<< endl; } //dispalys num1 and num2 i.e. two smallest integers in ascending order
Explanation:
I will explain the program with an example.
Lets say the list size is 4 and numbers are 1 2 3 4
for (int i = 0; i < size; ++i)
This loop reads each number (1,2,3,4) and adds that number to the vector v which is the sequence container. The method push_back is used which inserts each number into the vector at the end, after the current last number and the vector size is increased by 1.
Next num1 = v[0] becomes num1 = 1
and num2 = v[1] becomes num1 = 2
if (num1 > num2) this condition is false so program moves to the statement:
for (int i = 2; i < size; ++i)
current = v[i]; becomes current = v[2]; which is current = 3
if (current < num1) is false so program moves to :
else if(current < num2) this is also false.
So the program moves to the statement:
cout<<num1<< " "<<num2<< endl;
which prints these two numbers 1 and 2 on output screen as the two smallest integers in the list in ascending order. Hence the output of the program is:
1 2
The screenshot of output of the program is attached.
Answer:
integers=[]
while True:
number=int(input())
if number<0:
break
integers.append(number)
print("",min(integers))
print("",max(integers))
Explanation:
Let T be the statement: The sum of any two rational numbers is rational. Then T is true, but the following "proof is incorrect. Find the mistake. "Proof by contradiction: Suppose not. That is, suppose that the sum of any two rational numbers is not rational. This means that no matter what two rational numbers are chosen their sum is not rational. Now both 1 and 3 are 1/1 and 3 3/1, and so both are ratios of integers with rational because 1 a nonzero denominator. Hence, by a supposition, the sum of 1 and 3, which is 4, is not rational. But 4 is rational because 4 4/1 , which is a ratio of integers with a nonzero denominator. Hence 4 is both rational and not rational, which is a contradiction. This contradiction shows that the supposition is false and hence statement T is true.
Answer:
the mistake is in the first statement.
Explanation:
Now lets us put the statement into consideration:
"The sum of any two rational numbers is irrational"
The negation is: " there exists a pair of rational numbers whose sum is irrational". (Existence of at least one of such a pair).
The negation is not "the sum of any two rational numbers is irrational"
Therefore the mistake is in the first statement and it is due to incorrect negation of the proof.
HEY DO U LIKE TRAINS!
Answer:
yes
Explanation:
yes
html tags are surrounded by which types of brackets
How and why does the daily path of the sun across the sky change for different locations on Earth?
Answer:
how does the daily path of the sun across the sky change with the seasons?
The path is curved due to Earth's tilted axis. During the days with longer periods of daylight, more light and heat from the Sun strike that hemisphere. So, when the Sun is higher in the sky, its energy is more concentrated on Earth's surface.
Given four values representing counts of quarters, dimes, nickels and pennies, output the total amount as dollars and cents. Output each floating-point value with two digits after the decimal point, which can be achieved as follows: System.out.printf("Amount: $%.2f\n", dollars); Ex: If the input is: 4 3 2 1 where 4 is the number of quarters, 3 is the number of dimes, 2 is the number of nickels, and 1 is the number of pennies, the output is: Amount: $1.41 For simplicity, assume input is non-negative.
LAB ACTIVITY 2.32.1: LAB: Convert to dollars 0/10 LabProgram.java Load default template. 1 import java.util.Scanner; 2 3 public class LabProgram 4 public static void main(String[] args) { 5 Scanner scnr = new Scanner(System.in); 6 7 /* Type your code here. */|| 8 9) Develop mode Submit mode Run your program as often as you'd like, before submitting for grading. Below, type any needed input values in the first box, then click Run program and observe the program's output in the second box Enter program input (optional) If your code requires input values, provide them here. Run program Input (from above) 1 LabProgram.java (Your program) Output (shown below) Program output displayed here
Answer:
Replace /* Type your code here. */ with the following lines of code
int quarter =scnr.nextInt();
int dime = scnr.nextInt();
int nickel = scnr.nextInt();
int penny = scnr.nextInt();
double dollars = quarter * 0.25 + dime * 0.1 + nickel * 0.05 + penny * 0.01;
System.out.printf("Amount: $%.2f\n", dollars);
System.out.print((dollars * 100)+" cents");
Explanation:
The next four lines declare the given currencies as integer
int quarter =scnr.nextInt();
int dime = scnr.nextInt();
int nickel = scnr.nextInt();
int penny = scnr.nextInt();
This line calculates the amount in dollars
double dollars = quarter * 0.25 + dime * 0.1 + nickel * 0.05 + penny * 0.01;
The next two lines print the amount in dollars and cents respectively
System.out.printf("Amount: $%.2f\n", dollars);
System.out.print((dollars * 100)+" cents");
Given four values representing counts of quarters, dimes, nickels and pennies, the total amount in dollars and cent can be represented as follows;
#1 quarters = 0.25 dollars
#1 dime = 0.1 dollar.
#1 nickel = 0.05 dollars
#1 penny = 0.01 dollars
#quarters, dimes, nickels and pennies,
x = input("write your input here: ")
for i in x:
quarters = 0.25*float(x[0])
dime = 0.1*float(x[1])
nickel = 0.05*float(x[2])
penny = 0.01*float(x[3])
sum1 = quarters + dime + nickel + penny
print(round(sum1, 2))
Code explanation:The commented section of the code is just the conversion rate of quarters, dime, nickel and penny to dollars.
Variable x is used to store the user's input.Then, we loop through the users inputThen multiply each looped value by it conversion rate to dollars.Finally, we sum the values and print the sum rounded to 2 decimal places as required.learn more on python code here: https://brainly.com/question/24556911?referrer=searchResults
This needs to be written in Java.
Create an Automobile class for a dealership. Include fields for an ID number, make, model, color, year, vin number, miles per gallon, and speed. Include get and set methods for each field. Do not allow the ID to be negative or more than 9999; if it is, set the ID to 0. Do not allow the year to be earlier than 2000 or later than 2017; if it is, set the year to 0. Do not allow the miles per gallon to be less than 10 or more than 60; if it is, set the miles per gallon to 0. Car speed should be initialized as 0. Include a constructor that accepts arguments for each field value and uses the set methods to assign the values. Also write two methods, Accelerate () and Brake (). Whenever Accelerate () is called, increase the speed by 5, and whenever Brake () is called, decrease the speed by 5. To allow users to specify the speed to increase (or decrease), create two overloading methods for Accelerate () and Brake () that accept a single parameter specifying the increasing (or decreasing) speed. Write an application that declares several Automobile objects and demonstrates that all the methods work correctly. Save the files as Automobile.java and TestAutomobiles.java
Answer:
Here is Automobile.java
class Automobile { //class name
private int ID, year, milesPerGallon, speed = 0; // private member variables of Automobile of int type
private String model, vinNo, make, color; // private member variables of Automobile of String type
public void setID(int ID){ //mutator method to set ID
if (ID >= 0 && ID <= 9999) // checks ID should not be negative or more than 9999
this.ID = ID;
else this.ID = 0; } //if ID is negative or greater than 9999 then set ID to 0
public void setModel(String model){ // mutator method to set model
this.model = model; }
public void setYear(int year){// mutator method to set year
if (year >= 2000 && year <= 2017) //checks that year should not be earlier than 2000 or later than 2017
this.ID = ID;
else this.year = 0; } //if year is less than 2000 or greater than 2017 then set year to 0
public void setVinNo(String vinNo){ //mutator method to set vin number
this.vinNo = vinNo; }
public void setMilesPerGalon(int milesPerGallon){ //mutator method to set miles per gallon
if (milesPerGallon >= 10 && year <= 60) //checks that miles per gallon should not be less than 10 or more than 60
this.milesPerGallon = milesPerGallon;
else this.milesPerGallon = 0; } //if it is more than 60 or less than 10 then set miles per gallon to 0
public void setSpeed(int speed){ //mutator method to set speed
this.speed = speed; }
public void setMake(String make){ //mutator method to set make
this.make = make; }
public void setColor(String color){ //mutator method to set color
this.color = color; }
public int getID() //accessor method to get or access ID
{return ID;} //returns the current ID
public String getModel() //accessor method to get or access model
{return model;} //returns the current model
public int getYear()// accessor method to get or access year
{return year;} //returns the current year
public String getVinNo() // accessor method to get or access vin number
{return vinNo;} //returns the current vin number
public int getMilesPerGallon() //accessor method to get or access miles per gallon
{return milesPerGallon;} //returns the current miles per gallon
public int getSpeed() //accessor method to get or access speed
{return speed;} //returns the current speed
public String getMake() //accessor method to get or access make
{return make;} //returns the current make
public String getColor() //accessor method to get or access color
{return color;} //returns the current color
public int Accelerate() { //method that increase speed by 5
setSpeed(speed + 5); //calls set speed to add 5 to the speed field
return speed; } //returns the speed after increasing 5
public int Brake() { //method that decreases speed by 5
setSpeed(speed - 5);//calls set speed to subtract 5 from the speed field
return speed; } //returns the speed after decreasing 5
public int Accelerate(int spd) { //overloading methods for Accelerate()that accepts a single parameter spd
setSpeed(speed + spd); //increases speed up to specified value of spd
return speed; }
public int Brake(int spd) { //overloading methods for Brake()that accepts a single parameter spd
setSpeed(speed - spd); //decreases speed up to specified value of spd
return speed; }
public Automobile(int ID, String make, String model, int year, String vinNo, int milesPerGallon, int speed, String color){ //constructor that accepts arguments for each field value and uses the set methods to assign the values
setID(ID);
setModel(model);
setYear(year);
setVinNo(vinNo);
setMilesPerGalon(milesPerGallon);
setSpeed(speed);
setMake(make);
setColor(color); } }
Explanation:
Here is TestAutomobiles.java
public class TestAutomobiles { //class name
public static void main(String args[]) { //start of main method
Automobile auto = new Automobile(123, "ABC", "XYZ", 2010, "MMM", 30, 150, "White"); //creates an object of Automobile class and calls its constructor passing the values for each of the fields
System.out.println("Initial Speed: " + auto.getSpeed()); //calls getSpeed method to get the current speed using object auto. The current speed is 150
System.out.println("Speed after applying acceleration: " + auto.Accelerate()); //calls Accelerate() method to increase the current speed to 5
System.out.println("Speed after applying brake: " + auto.Brake()); //calls Brake() method to decrease the current speed to 5
System.out.println("Speed after applying acceleration: " + auto.Accelerate(180)); //calls overloading Accelerate() method to increase the current speed to 180
System.out.println("Speed after applying brake: " + auto.Brake(50)); } } //calls overloading Brake() method to decrease the current speed to 50
//The screenshot of the output of the program is attached.
What is the output of the following program?
S = "foo"
t = "bar"
print(((s+t)*3).count("barf"))
The output of the following program is 2.
What is output of this program?S = "foo"
t = "bar"
print(((s+t)*3).count("barf"))
here we get The output is 2
Information that is processed and sent out by a program or another electronic device is considered its output. The output is anything that is audible on the display screen, such as the words you type on the keyboard.The term "output" refers to any data that a computer or other electronic device processes and sends. Anything that can be seen on a computer screen, such as the text you write on a keyboard, is an example of output.To learn more about output refer to:
https://brainly.com/question/27646651
#SPJ2
Declare Integer values[SIZE] = 1, 2, 3, 4, Debugging Exercises 1. What is the error in the following pseudocode? // This program uses an array to display five names Constant Integer SIZE = 5 Declare String names [SIZE] = "Meg", "Jack", "Steve "Bill", "Lisa" Declare Integer index For index = 0 To SIZE Display names[index] End For
Answer:
In "Declare String names [SIZE] =", Meg and Jack are done correctly, however for Steve and Bill, there is no ending quote after Steve, and no comma separating the two. More of a common problem than one would think
it should look more like
Declare String names [SIZE] = "Meg", "Jack", "Steve", "Bill", "Lisa"
The early success of Microsoft was cemented by the release of which software product:
A) Altair BASIC
B) MS-DOS for the IBM PC
C) IBM’s OS/360
D) P/M
Answer:
MS-DOS for the IBM PC
Explanation:
Shortly after its launch most personal computer companies adopted MS-DOS as their operating system.
Answer:
basically B
Explanation:
the person above is correct
Which of the following is true of both copyrights and trademarks?
a.) Both are granted for an unlimited period of time
b.) Both must be applied for and granted by the government
c.) Both provide protection of intellectual property to the owner
D.) Both are registered with the government
Answer:
C.
Explanation:
A trademark protects stuff like symbols or logos, and copyrights protect an idea or composure. Both protect intellectual property
Answer:
C
Explanation:
Did it on ed2020
2
Select the correct answer from each drop-down menu.
Different web browsers perform similar
functions, which are presented in the form of?
A. Text labels
B. Webpages
C. Buttons and menus
Answer:
The answer to this question is given below in the explanation section.
Explanation:
The correct answer to this question is B.
Because different browsers perform similar functions that are presented in the form of webpages. If you want to run the webpage in chrome, it will run similarly as you run it in internet explorer or in firefox.
However, other options such as text labels and buttons and menus are not the browser functions because these are the elements of the webpages.
so the correct answer to this question is webpages.
Java Eclipse homework. I need help coding this
Project Folder: Lesson 03
package: challenge3B
Class: ChallengeProject3B
Complete the code challenge below.
(You will need to use escape sequences to print the \ and “ characters )
Write a program that displays the following:
1. Write code that displays your name inside a box on the console screen, like this:
+-----------------+
| Your Name |
+-----------------+
2. Write code that prints a face, using text characters, hopefully better looking than this one:
//////
| o o |
(| ^ |)
| \_/ |
-------
3. Write code that prints a tree:
/\
/ \
/ \
/ \
--------------
“ “
“ “
“ “
public class ChallengeProject3B{
public static void main(String [] args){
System.out.println("+-----------------+");
System.out.println("| YOURNAME |");
System.out.println("+-----------------+");
System.out.println("\n//////");
System.out.println("| o o|");
System.out.println("|\\_/|");
System.out.println("-----");
System.out.println("\n/\\");
System.out.println("/\\");
System.out.println("/\\");
System.out.println("/\\");
System.out.println("--------------");
}
}
I hope this helps!
The graphical user interface (GUI) was pioneered in the mid-1970s by researchers at:
A) Apple Computer
B) Microsoft
C) Xerox
D) IBM
Answer:
its C actually
Explanation:
C) Xerox plus i had a quiz
Answer:
xerox
Explanation:
Ken has inserted an image into his PowerPoint presentation, but the image contains a lot of empty and/or unnecessary space. He needs to eliminate this space. Which option should he use to achieve this goal?
cut
copy
crop
adjust
Answer:
C. crop
Explanation:
Answer:
c
Explanation:
What is the solubility of an empty soda can
Answer:
Around 2.2 grams.
Explanation:
2.2 g CO2∗1 mol CO244 g CO2=0.05 mol
355 mL∗1 L1000 mL=0.355 L
So here we can see we have about 0.05 mol/0.355 L or about 0.14 mol of carbon dioxide per liter of soda. Of course this value varies by manufacturer, type of drink, container, etc.