Answer:
The C code is below.
Explanation:
#define amplitude 1
02 #define b 1
03 #define c 200
04 class Sinewave
05 {
06 protected:
07
08 double freq;
09 int y;
10
11 public:
12 Sinewave()
13 {
14
15 }
16 void generateSinewave()
17 {
18 COLORREF yellow = RGB(255,255,0);
19 COLORREF lightblue = RGB(173,216,230);
20
21 // make sure the names match
22 SetConsoleTitle(L"ConGraphics");
23 HWND hWnd = FindWindow(NULL, L"ConGraphics");
24 HDC hDC = GetDC(hWnd);
25
26 //for(int x = 0; x < freq; x++)
27 for(int x = 0;; x++)
28 {
29 // center at y = 200 pixels
30
31 y = amplitude*(int)(sin(x/100.0)*100 + 150);
32 SetPixel(hDC, x, y, lightblue);
33
34
35 }
36
37 }
38 };
Answer: She sets an access password while saving the file. hope this helps!!!!
Explanation:
Answer:
probably false
Explanation:
because u dont want a budget to b exact u want it completely covered
Answer:
Option b Internet platforms
Explanation:
Internet is related to network infrastructure and also hardware and software platforms. Without network infrastructure that enable connectivity and communication between computers, the internet platform won't exist. Besides, the network also enable communication and interaction between users and application. And we need specific hardware and software to construct a functional internet service.
Answer:
#include <iostream>
using namespace std;
int main()
{
float celsius;
cout<<"Enter the temperature in Celsius: ";
cin>>celsius;
float Fahrenheit = 1.8 * celsius + 32;
cout<<"The temperature in Fahrenheit is: "<<Fahrenheit<<endl;
}
Explanation:
first include the library iostream in the c++ programming.
Then, create the main function and declare the variable celsius.
cout is used to print the message on the screen.
cin is used to store the user enter value in the variable.
then, apply the formula for calculating the temperature in Fahrenheit
and store the result in the variable.
Finally, print the result.