The colors should match the attitude the business would like to present.
D because people can communicate using video conferencing
Im guessing you mean where coding is used?
pretty much anything with lights or a button
but, examples:
(some) watches
(newer) cars
planes
boats
credit cards (using one requires code to be ran)
Cash registers
(some) safes
Alarm Clocks
Routers
ATMs
eBooks
Cellular Sattelites
Weather Sattelites
Energy Grids
Water Plants
Sewage
Anywhere where mail is sorted
Not sure if this is a legit question or not but no you probably shouldnt give your report a name lol
Answer:
// here is code in C++.
#include <bits/stdc++.h>
using namespace std;
// function
string is_perfect(int n)
{
// string variables
string str;
// if number is negative
if (n < 0)
{
str="invalid input.";
}
// if number is positive
else
{
int a=sqrt(n);
// if number is perfect square
if((a*a)==n)
{
str="True";
}
// if number is not perfect square
else
{
str="False";
}
}
// return the string
return str;
}
// main function
int main()
{
// variables
int n;
cout<<"enter the number:";
// read the value of n
cin>>n;
// call the function
string value=is_perfect(n);
// print the result
cout<<value<<endl;
return 0;
}
Explanation:
Read a number from user and assign it to variable "n".Then call the function is_perfect() with parameter n.First check whether number is negative or not. If number is negative then return a string "invalid input".If number is positive and perfect square then return a string "True" else return a string "False".
Output:
enter the number:-3
invalid input.
enter the number:5
False
enter the number:16
True