Today personal computer is changed to laptop mode. Personal computer is made of CPU, monitor, keyboard, printer and mouse. All input device and output device connected with wire or without wire.
<u>Explanation:</u>
Personal computers are also called as desktop or workstation. These days all become compatible device which is called as laptop.
Basically all input devices and output device are fixed in laptop so end user can carry the laptop and used anywhere.
Laptop is charged and used, whereas desktop or workstation just fixed in the table and used it.
This code attempts to fuse two strings together. So,
fuse("Apple", "Banana")
would return "ABpapnlaen a"
However, there are a couple of things wrong with this code:
- The for loop is incomplete (probably a copy paste error)
- It is unclear from the code if the array jawaban will overflow if kata1 and kata2 are large (it probably will)
- Biggest problem: the jawaban array is declared on the stack, which means it will be cleaned up when the function returns. So the caller of this function will reference unallocated memory! This is a huge bug!!
total = 0
i = 0
while i < 10:
temp = float(input("Enter Temperature: "))
total += temp
i += 1
print("Sum =", str(total))
I hope this helps!
.com means company, so it is ran by a company.
The most popular Operating Systems are:
Android
IOS
Windows