help me to write a program in c++ compiler plz Q6: write a program to calculate the addition table for number 3. Q4: write a program to calculate how many even number among 10 different numbers. Q1:Write a program to calculate Q2: Write a program to calculate the average of student who has registered n number of courses. Q3: write a program to calculate the following formula
Q: . Why isn't it practical for each node in a sensor net to learn its location by using GPS? Describe…
A:
Q: (d) Explain THREE (3) forms of intellectual property that are relevant in the context of network and…
A: A type of intangible property that is created by the mined like inventions, designs, names, work of…
Q: Q2) A) Using the RSA Public-Key Cryptosystem with: n=77 0(n)-60, and e=37 1) Find the privet…
A:
Q: Consider the situation in the previous exercise, except this time assume that the router has a queue…
A:
Q: ample: Input Result after a train crashed, every single person died. who survived?all of the…
A: The program is written in Java. Please find the source code and output in the following steps.
Q: In C program, Implement intArray_remove( intArray_t* ia, unsigned int indexToBeRemoved ) and…
A: The answer is given below.
Q: Given a code snippet in C++, write the equivalent codes in MIPS. Note: You may use any register that…
A: Snippet1.asm main: push rbp mov rbp, rsp mov DWORD PTR [rbp-4], 3 mov DWORD PTR [rbp-8], 5 mov DWORD…
Q: Show how the decimal floating point number -76.310 is stored in the computer's storage using IEEE754…
A: Here in this question we have given a decimal number -76.3 and we have asked to convert it into IEEE…
Q: What is the difference between the Oculus Rift and the Microsoft HoloLens?
A: The basic idea behind both of these devices is the same: by projecting an image right in front of…
Q: Give some details of how you might augment the protocol with flow control by having ACKS carry…
A: We assume ACKs carry an additional variable k, which indicates the available buffer space of the…
Q: write a program in c++ that contains declares a student_t data structure and defines functions to:*…
A: write a program in c++ that contains declares a student_t data structure and defines functions to: *…
Q: Le smallest MTU of any li n two hosts. Assume we th used in the previous e TU for all the path segme…
A: Path MTU: MTU or the Maximum transmission unit is the largest protocol data unit that one layer can…
Q: Suppose you are designing a sliding window protocol for a 1-Mbps point-to-point link to the…
A:
Q: In the expression, n = x + rand() % y; O 65556 16 O o O None of these if x = 0 and y=17, what is the…
A: answer is
Q: F=ab+abc+b'c'+a'b'c' Simplify above Boolean function algebraically
A: Provided function is: F = ab + abc + b'c' + a'b'c'
Q: For the network given in Figure 3.54, give global distance-ve tables like those of Tables 3.10 and…
A: The figure of the network is as follows:
Q: 2. Use a paper-and-pencil approach to compute the following division in binary. i. Dividend = 1110,…
A: Given that use a paper and pencil approach to compute the following division in binary. Dividend =…
Q: 17824 bits of data is to be transferred from a station A to station B. Assume a call setup time of…
A: Given: call set up time = 0.01 s hops = 3 Total bits N = 17824 Signal Propagation speed = 200 km/s…
Q: Suppose A is connected to B via an intermediate router R, as in the previous problem. The A-R link…
A: Consider the situation wherein there are two computers, A and B as shown below, with a router R in…
Q: Given the following undirected unweighted graph G(V, E). a C What is E? b d e
A: The given graph is G ( V , E ) where , V represent the set of all vertices which is present in a…
Q: Q1. What are the basic interfaces of Java Collections Framework? Q2. What are the Data Types…
A: NOTE :- Below i explain the answer in my own words by which you understand it well. The…
Q: 1. Consider the network shown in Figure 4.28, in which horizontal lines represent transit providers…
A: (a) Q receives up to three routes to P from the links 1,2 and 3 Each interprovider directs the…
Q: Suppose the Ethernet transmission algorithm is modified as follows: After each successful…
A: Introduction: In this, the channel is identified before sending the data. Expecting the channel to…
Q: Make a superclass called Language,then a child class called Node to extend it. Create a method…
A: Make a superclass called Language,then a child class called Node to extend it. Create a method…
Q: When closing a TCP connection, why is the two-segment-lifetime timeout not necessary on the…
A: TCP is a connection of networks and it establishes connection between client and server before any…
Q: Suppose the Ethernet transmission algorithm is modified as follows: After each successful…
A: The question has been answered in step2
Q: Please do it with regular expression. Don't use loops please. Do fast, I have no time left Write a…
A: We need to write a program in Java to check for vowels in a string using regular expression.
Q: Q1. What are the basic interfaces of Java Collections Framework? Q2. What are the Data Types…
A: Below is the answer to above question. I hope this will be helpful for you...
Q: You are hired to design a reliable byte-stream protocol that uses a sliding window (like TCP). This…
A: You are hired to design a reliable byte-stream protocol that uses a sliding window (like TCP). This…
Q: When it comes to cloud security, what is the "shared responsibility" paradigm like?
A: Introduction: One type of cloud security model is the shared accountability paradigm. In order to…
Q: index=0 for 1 to 20 //get user input value into array arr[index]=input index-index +1 //calculate…
A: C++ program for ( 2a. ) #include<iostream> using namespace std; //2a. complete c++ program…
Q: Create a file named StudentArrayList.java, within the file create a class named StudentArrayList.…
A: Introduction Create a file named StudentArrayList.java, within the file create a class named…
Q: What is the Difference between JDK and JRE?
A: JDK (Java Development Kit) It contains tools for developing java programs, to compile programs,…
Q: Trace the following code by showing the values of the 3 variables in the table on the right, for…
A: Code -----------------> x y z var x = 5; -----------------> 5 N/A N/A var y = 10;…
Q: What are the main differences between the BSS and ESS wireless topologies? Create the topologies and…
A: The Answer is in step2
Q: - Suppose that we attempt to run the sliding window algorithm with SWS = RWS = 3 and with MaxSeqNum…
A:
Q: Assume the following declarations: struct EmployeeTag { char name[40]; int ID_number; float salary;…
A: In C programming, a structure allows the programmer to declare and use the user-defined data type.…
Q: __124/ A GPU __________ . a. can replace a CPU in all functionality. b. is focused on…
A: This is a multiple choice question. The question describes the 124/A GPU. The GPU stands for…
Q: I need help in this C Program. Write a program that will read the contents of "integers.dat". The…
A: A pointer file will be created of type File declared in stdio.h header file. Then using fopen…
Q: stakeholder register for a Greek restaurant
A: Stakeholder Register Stakeholder Type Level of interaction Importance Vendor Primary Recurring…
Q: Define a Python function split_dict() that takes a number x and a dictionary d whose keys are…
A: Here is python function to implement above criteria. See below for code
Q: When closin timeout not CLOSED?
A: Answer is given below.
Q: (c) Using pseudo-code, a block diagram or any programming language, describe the outline logic that…
A: Basically Space allocation is similar to page frame allocation. Mark allocated blocks as in-use –…
Q: Indents in Python code a. matter b. don't matter c. aren't allowed d. are used strictly to make…
A: Complete solution is below:
Q: explain one of the following components that make up a data warehouse and include an example that…
A:
Q: Feed me 4 hex digits: 0001 1 Children 0 Adult 0 Senior Citizen No Matinee Discount No Blockbuster…
A: Feed me 4 hex digits: 00011 Children0 Adult0 Senior CitizenNo Matinee DiscountNo Blockbuster…
Q: Assume that a file containing a series of integers is named numbers.txt . Write a program that…
A: GIven: Assume that a file containing a series of integers is named numbers.txt . Write a program…
Q: #function read file and display report def displayAverage(fileName): #open the file infile =…
A: I have provided PYTHON CODE, CODE SCREENSHOT , TXT FILE SCREENSHOT and OUTPUT…
Q: Explain AWS
A: The above question is solved in step 2 :-
Q: Internal control being one of the major determinants of an organization’s success requires the…
A: advantages and five disadvantages/limitations of internal controls.
help me to write a
Q6: write a program to calculate the addition table for number 3.
Q4: write a program to calculate how many even number among 10 different numbers.
Q1:Write a program to calculate
Q2: Write a program to calculate the average of student who has registered n number of courses.
Q3: write a program to calculate the following formula
Step by step
Solved in 2 steps with 1 images
- Create a program in C language that calculates the month's day from a given year and year's day. Use pointers for the month and month's day variables. Don't forget to add proper errors handling in your program. Example or errors - Invalid Input- Invalid year- Invalid year day Example of input # ./month_day <year> <yearday> # Example for Feb 2nd, 2019:\$ ./month-day 2019 33Feb 02, 2019 I have this class - month-day.c - #include <stdio.h> /* month_day function's prototype*/void month_day(int year, int yearday, int *pmonth, int *pday); int main() {return 0;} Note: I don't need the calendar, please read the instructions well!!Homework 3: Write a program in c language to calculate two real numbers. The operation you are going to used are "add, subtract, multiple and division" and it is going to be optional to calculate the two numbers separately at cach time you are going to execute the program.Create a C++ program for the following cases: Required: Program Plan Algorithm Flowchart Pseudocode Iteration Table Sample Run QUESTION: Write a C++ program that will generate and display a magic square. A magic square is a square matrix in which the sum of every row, every column, and both diagonals is the same.
- C++ A company hired 10 temporary workers who are paid hourly and you are given a data file that contains the last name of the employees, the number of hours each employee worked in a week, and the hourly pay rate of each employee. You are asked to write a program that computes each employee's weekly pay and the average salary of all the workers. The program then outputs the weekly pay of each employee, the average weekly pay, and the names of all the employees whose pay is greater than or equal to the average pay. If the number of hours worked in a week is more than 40 hours, then the pay rate for the hours over 40 is 1.5 times the regular hourly rate. Use two parallel arrays: a one-dimensional array to store the names of all the employees, and a two-dimensional array of 10 rows and 3 columns to store the number of hours an employee worked in a week, the hourly pay rate, and the weekly pay. Your program must contain at least the following functions—a function to read the data from the…C++ A company hired 10 temporary workers who are paid hourly and you are given a data file that contains the last name of the employees, the number of hours each employee worked in a week, and the hourly pay rate of each employee. You are asked to write a program that computes each employee’s weekly pay and the average salary of all employees. The program then outputs the weekly pay of each employee, the average weekly pay, and the names of all the employees whose pay is greater than or equal to the average pay. If the number of hours worked in a week is more than 40, then the pay rate for the hours over 40 is 1.5 times the regular hourly rate. Use two parallel arrays: a one-dimensional array to store the names of all the employees (Name) a two-dimensional array of 10 rows and 3 columns to store the number of hours an employee worked in a week (Hrs Worked), the hourly pay rate (Pay Rate), and the weekly pay (Salary). Your program must contain at least the following functions: a…A Palindromic prime is a prime number that is also a palindromic number. Write a C++ program that displays all the palindromic prime numbers between 100 and 999 without using pointers.For example: These are 14 palindromic prime numbers smaller than 500:2,3,5,7,11,101,131,151,181,191,313,353,373,383.
- C++ PROGRAM Write a program that accepts an integer and prints the range of numbers starting from 1 to the input (inclusive). Prime numbers will be skipped. Sample Input: Enter a number: 10 Output: 1 4 6 8 9 10C++ A company hired 10 temporary workers who are paid hourly and you are given a data file that contains the last name of the employees, the number of hours each employee worked in a week, and the hourly pay rate of each employee. You are asked to write a program that computes each employ- ee’s weekly pay and the average salary of all the workers. The program then outputs the weekly pay of each employee, the average weekly pay, and the names of all the employees whose pay is greater than or equal to the average pay. If the number of hours worked in a week is more than 40, then the pay rate for the hours over 40 is 1.5 times the regular hourly rate. Use two parallel arrays: a one-dimensional array to store the names of all the employees, and a two-dimensional array of 10 rows and 3 columns to store the number of hours an employee worked in a week, the hourly pay rate, and the weekly pay. Your program must contain at least the follow- ing functions—a function to read the data from…Home Work 2: It is required from you to write a code in C language to find the average for any five numbers.
- Programing in c This program will calculate how pricy two products will be in 2030. It will begin by asking the user for the current price of the products. Then, it will print these values out, so the user knows the values were saved correctly. Next, it will ask the user for the inflation rate. After this, the program should multiply the current prices by the inflation rate. When done, it should print out the estimated-inflated values. For this task, you will need to define a structure with two members. These two members will be the products whose inflated price will be calculated. In the example I chose salt and soap. You will also need a local variable in main that holds the value of the inflated rate. Lastly, this process should be ran twice, each time for a different country. Therefore, you will need to declare two variables of the same structure type. One declaration for country1 and one for country2. The example is running estimated values for Mexico and Canada. You may implement…Write a program using C# You are tasked with writing a program to process students’ end of semester marks. For each student you must enter into your program the student’s id number (an integer), followed by their mark (an integer out of 100) in 4 courses. A student number of 0 indicates the end of the data. A student moves on to the next semester if the average of their 4 courses is at least 60 (greater than or equal to 60). Write a program to read the data and print, for each student: The student number, the marks obtained in each course, final mark of the student (average of all the marks), their final grade (A,B,C,D or F) and whether or not they move on to the next semester. In addition, after all data entry is completed, print The number of students who move on to the next semester and the number who do not. The student with the highest final mark (ignore the possibility of a tie). Grades are calculated as follows: A = 70 and over, B = 60 (inclusive) -70, C =…Programming Language: Python 5. Write a Python function that takes a positive integer n as an argument and returns 1 if n is prime, and 0 otherwise