I think it’s number 1. Check the answer first.
Answer:
See explaination
Explanation:
#include <iostream>
using namespace std;
int main()
{
double h, w;
int s, a, b;
cout<<"height in feet: ";
cin>>h;
cout<<"width in feet: " ;
cin>>w;
cout<<"tile size in inches:";
cin>>s;
int height = h*12;
if(height%s==0)
a = height/s;
else
a = height/s + 1;
int width = w*12;
if(width%s==0)
b = width/s;
else
b = width/s + 1;
cout<<"Number of tiles: "<<a*b;
}
Hello, I assume you mean

To add 110011+ 1101 we can setup the problem like the following:
110011
+ 1101
-------------
1000000
When we add 1 + 1 this equals 10 so we just carry the 1 and we keep doing that from right to left. Also 1 + 0 = 1
Answer:
def main():
# Accept data from the user
n=int(input('Enter the value of n:'))
k=2;
sum=0
print('The list of the prime numbers are as follows:')
# This loop runs from k to n
while k<=n:
# Call is_prime() method,
# to check whether k is a prime or not
sum=sum+is_prime(k)
k=k+1
print('Sum of the prime numbers:',sum)
# is_prime() Method
def is_prime(k):
prime=0
i=1
# Check k is a prime or not
while i<=int(k):
# Find the factors of k
if (k % i) == 0:
prime=prime+1
i=i+1
# If k as two factors
if(prime==2):
print(k)
return k;
# If k as more than two factors
else:
return 0;
# Call the main() method
main()
Explanation:
Answer: NAS(Network-attached storage)
Explanation:
NAS(Network-attached storage) is the file storage in computer server which links to computer network. It is used by heterogeneous client or group of other various users to access files data.
- It can retrieve data from shared folder storage in network.It can provide serving file feature through standard, hardware,configuration or software.
- It provides high speed service of sharing and serving files, continuous work in faulty situation, easy configuration, simple accessing of data etc.