value = float(input("Enter a number: "))
if value > 45.6:
print("Greater than 45.6")
I hope this helps!
The program for the given output can be find in the explanation part which will show the answer "greater than 45.6" if the number exceeds than the digit.
What is computer programming?The development of individual pieces of software that allow the entire system to function as a single unit is referred to as systems programming.
Many layers are involved in system programming, including the operating system (OS), firmware, and development environment.
The complexity of the instructions that computers comprehend is the primary reason why programming is considered difficult to learn. You cannot instruct computers in English or any other human language.
Individuals interested in becoming computer programmers must first obtain a degree in computer science, information technology, mathematics, or a related discipline.
value = float(input("Enter a number: "))
if value > 45.6:
print("Greater than 45.6")
Thus, above mentioned is the computer program that will give the required output.
For more details regarding computer programming, visit:
https://brainly.com/question/3397678
#SPJ5
when jesus said it is written what was he making refference to
Answer:
He was referring to the Bible being finished.
Explanation:
Brainly account. How to open?
I need help finishing this coding section, I am lost on what I am being asked.
Answer:
when cmd is open tell me
Explanation:
use cmd for better explanatios
Should you let your computer scan email attachments before opening them? Why?
no you shouldn't
Explanation:
you should just block them and report them
QUESTION NO-1: The Highest quality printer is dot-matrix True False Prev
It is false that the Highest quality printer is basically dot-matrix.
What is dot-matrix?A dot matrix is a patterned 2-dimensional array used to represent characters, symbols, and images.
Dot matrices are used to display information in most types of modern technology, including mobile phones, televisions, and printers. The system is also used in the textile industry for sewing, knitting, and weaving.
Dot-matrix printers are an older technology that uses pins to strike an ink ribbon in order to print characters and images on paper.
While dot-matrix printers are capable of producing multi-part forms and have low operating costs, they are generally regarded as having lower print quality when compared to more modern printer technologies.
Thus, the given statement is false.
For more details regarding dot-matrix, visit:
https://brainly.com/question/4953466
#SPJ9
if net force acting on an object is 0 then the force is considered to be ..
Answer:
it is considered to be balanced
Ensure the file named Furniture.java is open.
The file includes variable declarations and output statements. Read them carefully before you proceed to the next step.
Design the logic and write the Java code that will use assignment statements to:
Calculate the profit (profit) as the retail price minus the wholesale price
Calculate the sale price (salePrice) as 25 percent deducted from the retail price
Calculate the sale profit (saleProfit) as the sale price minus the wholesale price.
Execute the program by clicking Run. Your output should be as follows:
Item Name: TV Stand
Retail Price: $325
Wholesale Price: $200
Profit: $125
Sale Price: $243.75
Sale Profit: $43.75
91011121314151617181920212223242526272829303132678345
double profit;
double saleProfit;
// Write your assignment statements here.
Logic:
profit=retailPrice-wholesalePrice
salePrice=retailPrice-(retailPrice*25)/100;
saleProfit=salePrice-wholesalePrice;
can someone write this how the code would be written i think i have it correct but i am getting and error when i run the code
Using the knowledge in computational language in JAVA it is possible to write a code that calculate the sale profit (saleProfit) as the sale price minus the wholesale price.
Writting the code:public class Furniture
{
public static void main(String args[])
{
String itemName = "TV Stand";
double retailPrice = 325.00;
double wholesalePrice = 200.00;
double salePrice;
double profit;
double saleProfit;
// Write your assignment statements here.
profit = retailPrice - wholesalePrice;
salePrice = retailPrice * (1 - 0.25);
saleProfit = salePrice - wholesalePrice;
System.out.println("Item Name: " + itemName);
System.out.println("Retail Price: $" + retailPrice);
System.out.println("Wholesale Price: $" + wholesalePrice);
System.out.println("Profit: $" + profit);
System.out.println("Sale Price: $" + salePrice);
System.out.println("Sale Profit: $" + saleProfit);
System.exit(0);
System.exit(0);
}
}
See mroe about JAVA at brainly.com/question/12975450
#SPJ1
How does a computer go through technical stages when booting up and navigating to the sample website? Answer the question using Wireshark screenshots.
When a computer is turned on, it goes through several technical stages before it can navigate to a sample website. The following are the basic steps involved in booting up a computer and accessing a website:
How to explain the informationPower On Self Test (POST): When a computer is turned on, it undergoes a Power On Self Test (POST) process, which checks the hardware components such as RAM, hard drive, CPU, and other peripherals to ensure they are functioning properly.
Basic Input/Output System (BIOS) startup: Once the POST process is complete, the BIOS program stored in a chip on the motherboard is loaded. The BIOS program initializes the hardware components and prepares the system for booting.
Boot Loader: After the BIOS startup is complete, the boot loader program is loaded. This program is responsible for loading the operating system into the computer's memory.
Operating System (OS) startup: Once the boot loader program has loaded the operating system, the OS startup process begins. During this process, the OS initializes the hardware, loads device drivers, and starts system services.
Web browser launch: After the OS startup is complete, the user can launch a web browser. The web browser program is loaded into the memory, and the user can navigate to a sample website.
DNS Lookup: When the user types in the website address, the computer performs a Domain Name System (DNS) lookup to translate the website name into an IP address.
HTTP Request: After the IP address is obtained, the web browser sends an HTTP request to the web server that hosts the website.
Website content delivery: Once the web server receives the HTTP request, it sends back the website content to the web browser, and the website is displayed on the user's screen.
These are the basic technical stages involved in booting up a computer and navigating to a sample website.
Learn more about computer on;
https://brainly.com/question/24540334
#SPJ1
A principle of design where the whole is greater than the sum of its parts is called
gestalt
.
A principle of design where the whole is greater than the sum of its parts is called gestalt.
What is gestalt?In contemporary German, the word “gestalt” refers to how something has been “positioned” or "put together." There isn't a direct translation into English.
Gestalt principles are the various ways that people combine stimuli to form a cohesive entire that makes sense to them. Five categories—proximity, similarity, continuity, connectivity, and closure—are used to group these principles.
Therefore, Gestalt is a design approach where the entire is more than the sum of its parts.
To learn more about gestalt, refer to the link:
https://brainly.com/question/6766381
#SPJ1
a rectangle is 12 cm long and 9 cm wide.Its perimeter is doubled when each of its sides is increased by a fixed length.what is the length?
Answer:
length = 12 cm
breadth = 9 cm.
perimeter of rectangle = 2( l+b)
= 2(12+9) = 2(21) = 42cm.
New length = (12+x) cm
New breath = (9+x) cm
2(12+x+9+x) = 42×2
2(21+x) = 84
21+ x = 84/2
21+x = 42
x= 42-21= 21
x= 21.
Therefore, length = (12+x)cm
=( 12+21) cm = 33cm.
Explanation:
Firstly we have written the length and breadth of the rectangle.
And the perimeter of rectangle i.e. 2(l+b)
Then, as it is in question we have doubled the perimeter
And at last, we have got the value of x.
and by putting the value in the new length we will get our answer.
hope you have got your answer dear.
in tabular form differentiate the first four generations of computer
Answer:
Explanation:
See attachment.
2. Which is not part of the Sans Institutes Audit process?
Help to translate the business needs into technical or operational needs.
O Deler a report.
O Define the audit scope and limitations.
O Feedback based on the
Answer:
Help to translate the business needs into technical or operational needs. This is not a part.
Explanation:
Capital budgeting simply refers to the process that is used by a business in order to determine the fixed asset purchases that is proposed which it should accept, or not. It's typically done in order to select the investment that's most profitable for a company.
Some of the capital budgeting processes include:
Identification and analysis of potential capital investments.
Application of capital rationing
Performing post-audits
It should be noted that developing short-term operating strategies is not part of the capital budgeting process.
Learn more about investments on:
https://brainly.com/question/15105766
#SPJ2
Operating systems try to ensure that consecutive blocks of a file are stored on consecutive disk blocks. Why is doing so very important with magnetic disks? If SSDs were used instead, is doing so still important, or is it irrelevant? Explain why
Performance is fast in this scenario where reading the consecutive disk blocks require no major movement of the disk head.
Why is doing so very important with magnetic disks?
Using hard disks or magnetic disks, the OS tries to ensure that when a file is stored it should be stored in the consecutive blocks of the disk in consecutive disk blocks. This is important as the magnetic disk moves with the intention to access the disk. If the magnetic disk moves a lot, then it takes much more time to access the information. The contiguous allocation on consecutive disk blocks makes sure that the blocks of the file are kept contiguously. Thus performance is fast in this scenario where reading the consecutive disk blocks require no major movement of the disk head.
Is it irrelevant?
But for SSDs, it is a different case. As the SSDs have no moving parts and they use flash memory to store the data and provide with improves performance, read/write speed and reliability thus the consecutive disk allocation does not make any difference in case of an SSD.
To know more about magnetic disks, Check out:
https://brainly.com/question/29770065
#SPJ1
cell d1 contains the value 7.877 you want cell d1 to display this value as 7.9 how can you accomplish
Answer:
You round?
Explanation:
The round function in excel can be used to change the value of 7.877 to 7.9 by writing the following code in cell d1 ; =round(7.877, 1)
The round function is used in excel to approximate numbers to a certain number of decimal places. The round function takes in two arguments ; the number to be rounded and the number of decimal places. To obtain a value of 7.9 ; round 7.877 to 1 decimal place., the value after the first decimal is above 5 ; it is rounded to 1 and added to the first decimal value.Therefore, the round function could be used to accomplish the above task.
Learn more :https://brainly.com/question/17566733
When you add a ___ account you can sign into the account and sync your information with all of your Windows devices.
When you add a Microsoft account you can sign into the account and sync your information with all of your Windows devices.
A computer system's hardware or equipment that performs one or more computational functions is referred to as a device. It can send data into the computer, receive data from it, or do both. Any electrical component with some computer power and the capacity to install firmware or third-party software qualifies as a device.
A computer mouse, speakers, printer, and microphone are examples of common hardware.
A device may also be referred to as an electronic instrument, an appliance, or a gadget.
All devices can be installed or replaced separately, regardless of whether they are integrated into a computer or linked externally. Despite this, gadgets in laptops and other portable computers tend to be more integrated.
Here you can learn more about device in the link brainly.com/question/11599959
#SPJ4
In which sections of your organizer should the outline be located?
The outline of a research proposal should be located in the Introduction section of your organizer.
Why should it be located here ?The outline of a research proposal should be located in the Introduction section of your organizer. The outline should provide a brief overview of the research problem, the research questions, the approach, the timeline, the budget, and the expected outcomes. The outline should be clear and concise, and it should be easy for the reader to follow.
The outline should be updated as the research proposal evolves. As you conduct more research, you may need to add or remove sections from the outline. You may also need to revise the outline to reflect changes in the project's scope, timeline, or budget.
Find out more on outline at https://brainly.com/question/4194581
#SPJ1
This project assumes that you have
completed Project 1. Place several
Student objects into a list and
shuffle it. Then run the sort
method with this list and display all of
the students' information. Print to the
console the unsorted list first of all
students followed by the sorted list of
all students
Answer:ty
Explanation:ty
The following code shown in the image can be utilized to implement the required functionality, assuming Project 1 entailed developing a class called "Student" with attributes like name, ID number, and GPA.
What is Coding?The process of developing, writing, testing, and maintaining software programme is known as coding, commonly referred to as computer programming. It entails writing code or instructions that a computer can comprehend and use to carry out a certain operation or address an issue.
In the illustrative code, a class called "Student" is first created and given attributes for name, ID number, and GPA. After that, we make a list of some sample students. The student list is shuffled using the random.shuffle() technique.
The list of students is then sorted based on GPA in descending order using the sort() method in conjunction with a lambda function. Then the sorted list of students is printed, followed by the unsorted list.
Thus, the following code shown in the image can be utilized to implement the required functionality, assuming Project 1 entailed developing a class called "Student" with attributes like name, ID number, and GPA.
Learn more about Coding, here:
https://brainly.com/question/17204194
#SPJ2
The nth Fibonacci number Fn is defined as follows: F0 = 1, F1 = 1 and Fn = Fn−1 + Fn−2 for n > 1.
In other words, each number is the sum of the two previous numbers in the sequence. Thus the first several Fibonacci numbers are 1, 1, 2, 3, 5, and 8. Interestingly, certain population growth rates are characterized by the Fibonacci numbers. If a population has no deaths, then the series gives the size of the poulation after each time period.
Assume that a population of green crud grows at a rate described by the Fibonacci numbers and has a time period of 5 days. Hence, if a green crud population starts out as 10 pounds of crud, then after 5 days, there is still 10 pounds of crud; in 10 days, there is 20 pounds of crud; in 15 days, 30 pounds of crud; in 20 days, 50 pounds of crud, and so on.
Write a program that takes both the initial size of a green crud population (in pounds) and some number of days as input from the keyboard, and computes from that information the size of the population (in pounds) after the specified number of days. Assume that the population size is the same for four days and then increases every fifth day. The program must allow the user to repeat this calculation as long as desired.
Please note that zero is a valid number of days for the crud to grow in which case it would remain at its initial value.
You should make good use of functions to make your code easy to read. Please use at least one user-defined function (besides the clearKeyboardBuffer function) to write your program.
basically I've done all the steps required except the equation in how to get the final population after a certain period of time (days). if someone would help me with this, I'll really appreciate it.
In Python, it can be expressed as follows. Using the recursive function type, we find the sum of the previous term and the sum of the two previous terms.
Python:x=int(input("Initial size: "))
y=int(input("Enter days: "))
mod=int(y/5)-1
def calc(n):
gen_term = [x,2*x]
for i in range(2, n+1):
gen_term.append(gen_term[i-1] + gen_term[i-2])
return gen_term[n]
if(mod==0):
print("After",y,"days, the population is",x)
else:
print("After",y,"days, the population is",calc(mod))
Mikayla is listening to music while she completes research for a school assignment. The input and output devices are able to communicate with each other because the computer has
central processing memory
a central processing unit
random access memory
read-only memory
Answer:
A central processing unit (CPU)
Assume you are given a boolean variable named isNegative and a 2-dimensional array of ints that has been created and assigned to a2d. Write some statements that assign true to isNegative if more integer elements in entire 2-dimensional array are negative than not.
Answer:
#include <iostream>
using namespace std;
int main(){
int rows, cols;
bool isNegatives;
cout<<"Rows: ";
cin>>rows;
cout<<"Columns: ";
cin>>cols;
int a2d[rows][cols];
for(int i =0;i<rows;i++){
for(int j =0;j<cols;j++){
cin>>a2d[i][j];} }
int negatives, others = 0;
for(int i =0;i<rows;i++){
for(int j =0;j<cols;j++){
if(a2d[i][j]<0){
negatives++;}
else{
others++;}} }
if(negatives>others){
isNegatives = true;}
else{
isNegatives = false;}
cout<<isNegatives;
return 0;
}
Explanation:
For clarity and better understanding of the question, I answered the question from the scratch.
This line declares number of rows and columns
int rows, cols;
This line declares the Boolean variable
bool isNegatives;
This line prompts user for rows
cout<<"Rows: ";
This line gets the number of rows
cin>>rows;
This line prompts user for columns
cout<<"Columns: ";
This line gets the number of columns
cin>>cols;
This line declares the array
int a2d[rows][cols];
This line gets user input for the array
for(int i =0;i<rows;i++){
for(int j =0;j<cols;j++){
cin>>a2d[i][j];} }
This line declares and initializes number of negative and others to 0
int negatives, others = 0;
The following iteration counts the number of negatives and also count the number of non negative (i.e. others)
for(int i =0;i<rows;i++){
for(int j =0;j<cols;j++){
if(a2d[i][j]<0){
negatives++;}
else{
others++;}} }
This checks of number of negatives is greater than others
if(negatives>others){
If yes, it assigns true to isNegatives
isNegatives = true;}
else{
If otherwise, it assigns false to isNegatives
isNegatives = false;}
This prints the value of isNegatives
cout<<isNegatives;
See attachment
Find the following series of 8,88,888,8888,88888
the sum to n terms of the sequence 8, 88, 888, 8888,..... is 80/80(10ⁿ-1) -8/9n
How is this so?The nth terms is solved as follows
Sⁿ =8+88+888+8888+......+n terms
= 8/9 [9+99+999+9999+....to n terms]
= 8/9 [(10−1)+(10² −1+(10³ −1)+(10⁴ −1+....to n terms]
= 8/9 [(10+(10²+(10³ .....n terms) - (1 + 1 + 1 + ....n terms)
= 8/9 [(10(10ⁿ-1))/(10-1) - n] [Sun of GP= a(rⁿ-1)/(r-1) when r > 1]
= 8/9 [ 10 (10ⁿ -1)/9) -n]
= 80/81(10ⁿ -1) -8/9n
Thus, it is correct to state that 80/81(10ⁿ -1) -8/9n
Learn more about Series:
https://brainly.com/question/26263191
#SPJ1
Full Question:
Find the sum to n terms of the sequence 8, 88, 888, 8888,
An array called numbers contains 35 valid integer numbers. Determine and display how many of these values are greater than the average value of all the values of the elements. Hint: Calculate the average before counting the number of values higher than the average
python
Answer:
# put the numbers array here
average=sum(numbers)/35 # find average
count=0 #declare count
for i in numbers: #loop through list for each value
if i > average: #if the list number is greater than average
count+=1 #increment the count
print(count) #print count
Which of these ports listed is the fastest? IEEE 1394 USB2.0 FIREWIRE ESATA
The port which is the fastest is ESATA.
What is ESATA?eSATA can be described as the SATA connector which can be access from outside the computer and it help to give the necessary signal connection that is needed for external storage devices.
The eSATA serves as a version of the eSATA port which is been regarded as the External SATA port, therefore, The port which is the fastest is ESATA.
Read more on the port here:
https://brainly.com/question/16397886
#SPJ1
Which of the following is the keyboard command for "paste"?This question is required. *
A
Ctrl + V / Command + V
B
Ctrl + P / Command + P
C
Ctrl + C / Command + C
D
Ctrl + A / Command + A
Answer:A: Ctrl + V / Command + V
Explanation:
Write a short story using a combination of if, if-else, and if-if/else-else statements to guide the reader through the story.
Project requirements:
1. You must ask the user at least 10 questions during the story. – 5 points
2. The story must use logic statements to change the story based on the user’s answer – 5 points
3. Three decision points must offer at least three options (if-if/else-else) – 5 points
4. Six of your decision points must have a minimum of two options (if-else) – 4 points
5. One decision points must use a simple if statement - 1 points
Here's an example implementation of the classes described:
How to implement the classclass Person:
def __in it__(self, name, ssn, age, gender, address, telephone_number):
self.name = name
self.ssn = ssn
self.age = age
self.gender = gender
self.address = address
self.telephone_number = telephone_number
class Student(Person):
def __in it__(self, name, ssn, age, gender, address, telephone_number, gpa, major, graduation_year):
super().__in it__(name, ssn, age, gender, address, telephone_number)
self.gpa = gpa
self.major = major
self.graduation_year = graduation_year
class Employee(Person):
def __in it__(self, name, ssn, age, gender, address, telephone_number, department, job_title, hire_year):
super().__in it__(name, ssn, age, gender, address, telephone_number)
class HourlyEmployee(Employee):
def __in it__(self, name, ssn, age, gender, address, telephone_number, department, job_title, hire_year, hourly_rate, hours_worked, union_dues):
super().__in it__(name, ssn, age, gender, address, telephone_number, department, job_title, hire_year)
self.hourly_rate = hourly_rate
self.hours_worked = hours_worked
self.union_dues = union_dues
class SalariedEmployee(Employee):
def __in it__(self, name, ssn, age, gender, address, telephone_number, department, job_title, hire_year, annual_salary):
super().__in it__(name, ssn, age, gender, address, telephone_number, department, job_title, hire_year)
self.annual_salary = annual_salary
Which of the following sorting algorithms could be implemented on a doubly-linked list WITHOUT making the asymptotic worst-case complexity even worse? You must perform the sorting in-place, you CANNOT just copy to an array and then use the normal algorithm
I. Bubble sort
Il. Selection sort
IlI. Insertion sort
IV. Quicksort
V. Heapsort
A. I, II, and IlIl only
B. IV and V only
C. I and II only
D. Iand Il only
E. All except V
Answer:
C. I and II only
Explanation:
Doubly-linked list is used for sorting algorithms. To sort doubly-linked lists first sort the nodes current and nodes index then compare the data of current and index node. Bubble sort and Selection sort can be used for algorithm sorting without asymptotic complexity. Bubble sort can be created when adjacent nodes are in ascending order.
In a photo editing program a picture file is loaded into ram, but there may be multiple processes that all do work on the picture (for example when a blur is applied to the picture). Since high resolution images consume a significant amount of memory, this program would need to rely on shared memory. In such a system, explain why might it become an issue if multiple processes are accessing the same memory at the same time
Answer:
When a program uses multiple memory of a system the system will respond slower. There should be enough RAM which can support the high resolution graphics. If the RAM storage is enough it will run the software smoothly but if RAM storage is not supporting the software there will be lags while software runs.
Explanation:
The software run through RAM and memory of a system. If there is high resolution graphics involved to run a program then there is a separate graphic card required for many software's. These software uses high memory which creates burden on RAM which introduces lags and pauses while the software is running.
Guess The Song:
She don't like her body, left the doctor with a new shape
Blowing up my phone 'cause she just see me with my new bae
Heart breaker, ladies love me like I'm Cool J
Answer:pop out
Explanation:
Which of the following can technology NOT do?
O Make our life problem free
O Provide us with comforts and conveniences
Help make our lives more comfortable
O Give us directions to a destination
make our life problem free
because technology has its negative effects on humanity like Social media and screen time can be bad for mental health
And technology is leading us to sedentary lifestyles
Technology is addictive
Insomnia can be another side effect of digital devices
Instant access to information makes us less self-sufficient
Young people are losing the ability to interact face-to-face
Social media and screen time can be bad for mental health
Young people are losing the ability to interact face-to-face
Relationships can be harmed by too much tech use
Write any kind of loop to prove that a number is a palindrome number. A palindrome number is a number that we can read forward and backward and the result of reading both ways is the same: e.g 147741 is a palindrome number.
With me code program C.
The program based on the given question that checks whether a given number is a palindrome is
#include <stdio.h>
int isPalindrome(int num) {
int reverse = 0, temp = num;
while (temp > 0) {
reverse = reverse * 10 + temp % 10;
temp /= 10;
}
return (num == reverse);
}
int main() {
int number;
printf("Enter a number: ");
scanf("%d", &number);
if (isPalindrome(number))
printf("%d is a palindrome number.\n", number);
else
printf("%d is not a palindrome number.\n", number);
return 0;
}
How does this work?This program's isPalindrome function checks if an input integer is a palindrome number by using a while loop to continuously extract the last digit and build the reversed number.
If reversed number = original number, function returns 1 (true); else function returns 0 (false). The main function prompts input, checks for palindrome status, and displays the result.
Learn more about programs here
brainly.com/question/26134656
#SPJ1: