Answer:
#include <stdio.h>
int main()
{
int userNum1;
int userNum2;
userNum1 = -1;
userNum2 = 7;
if (userNum1 < 0)
printf("userNum1 is negative. \n");
if(userNum2 > 9)
userNum2 = 0;
else
printf("userNum2 is less than or equal to 9.\n");
return 0;
}
Explanation:
Initialize userNum1 and userNum2.
If userNum1 is less than 0, print 'userNum1 is negative" and end with newline.
if userNum2 is greater than 9, assign 0 to userNum2.
Otherwise, print "userNum2 is less than or equal to 9 and end with newline.
Answer:
Kindly check explanation
Explanation:
Laws refer to legal rules and regulatory framework which is used as a guiding principle to define the actions and behavior which may lead to incurring penalties if boundaries are trespassed.
The word 'Cyber' is popularly used to describe activities, actions and interactions involving the internet. With the burst and continous pace of digital transformation, the internet also called Cyberspace is in a world of its own. Hence, the creation of rules to govern internet interactions.
Cyber laws may thus be explained as codified laws which are designed and implemented to govern all forms of possible online interaction or transactions in other enhance cyber security to protect the interest of persons and data from various forms of internet threats. Cyber laws include ; Data protection laws, Computer crime laws, telecommunication laws and so on.
Answer with Explanation:
Part 1)
The given sine wave is as

The graphical representation of the wave is shown in the attached figure:
Part 2)
For a general wave equation
'A' is defined as amplitude of the wave
is defined as phase of the wave
Upon comparing with the given wave function we observe
1) Amplitude of the given wave is 3
2) Phase of the given wave 