Answer:
#include<iostream>
int main()
{
int count=0;
int so_phan_tu;
std::cout << "nhap so phan tu : \n";
std::cin >> so_phan_tu;
int* A = new int[so_phan_tu];
std::cout << "nhap cac phan tu : \n";
for (int i = 0; i < so_phan_tu; i++)
{
std::cin >> A[i];
if (A[i] % 5 == 0)
{
count++;
}
}
std::cout << so_phan_tu - count;
system("pause");
return 0;
}
//cái này viết bằng C++ em nhé
Explanation:
Answer:
def str_analysis(s):
if s.isdigit():
s = int(s)
if s > 99:
message = str(s) + " is a pretty big number"
else:
message = str(s) + " is a smaller number than expected"
elif s.isalpha():
message = s + " is all alphabetical characters!"
else:
message = "There are multiple character types"
return message;
s = input("enter word or integer: ")
while s != "":
print(str_analysis(s))
s = input("enter word or integer: ")
Explanation:
- Check if the string is digit, alphabetical, or mixed inside the function
- Ask the user for the input
- Call and print the result of the <em>str_analysis</em> function inside the while loop
- Keep asking for the input until the given string is empty
Answer:
true
Explanation:
cloudware is used for many reasons and It is sometimes too much of an expense to the company
Correct answer: Neither
The CPU<span> is also known as the </span>processor<span> or microprocessor. The </span>CPU<span> is responsible for executing a sequence of stored instructions called a program. This program will take </span>inputs<span> from an </span>input<span> device, process the </span>input<span> in some way and </span>output<span> the results to an </span>output<span> device.</span> It is neither an input nor an output device, but it is usually connected to both kinds of devices.
Output devices like your monitor, speaker, and printer does not process anything fo it to be categorized as a processing device like your CPU and so as input devices like your mouse, microphone, and keyboard.