please Solve Urgent !!!!!!!!!!!!!
I want code in the language of C++ for a private university, which is accepted according to the rate and the price for each major
note : rate meaning Avrage
#include <iostream> using namespace std; int main() { int price,avg,n; cin>>n; cout << "Input Price and avg and number of majors"<<endl; for(int i=1;i<=n;i++) { cin >> price >> avg; cout<<"major"<<i<<": "<<avg<<","<<price<<endl; } return 0; }
The above is the corresponding code of the given question.
please Solve Urgent !!!!!!!!!!!!! I want code in the language of C++ for a private university,...
You want to design a digital watch using the private timer. Write the code with ARM assembly and C. Make your own decision on the language selection (Assembly and C). The followings are the coding requirements: Every second, the time information (hour minute second) should be sent to the UART terminal on PC The time starts from 00: 00: 00 Use some special ASCII characters to return back the cursor to the first column, when you display a new time....
I do NOT want C++ code, Unless there is just no other language in your head. I want pseudo code. Something you could give a 4th grader and they could do the work following your pseudo code. Or your English language instructions. If at some point it is just easier to write a line of C++ code. O.K. but I would prefer broken English. I expect Pseudo code for both problems. I expect a discussion of your general or overall...
This is Assembly Language...please i want you to give proper documentation or comment of every code you write, so i can understand your code. Thank you! ** 2. Exchanging Pairs of Array Values Write a program with a loop and indexed addressing that exchanges every pair of values in an array with an even number of elements. Therefore, item i will exchange with item i+1, and item i+2 will exchange with item i+3, and so on.
C++ preffered please, thank you. Write a code in a high-level language (C++, C# or Java or ??) for a Deterministic Pushdown automaton which will accept the string a^nb^n where sigma = a, b. Create an input file with the following strings aaabbb, ababab, aababb, abbaab and give your output showing what is accepted and what is not accepted.
please I need it urgent thanks. subject programming language and compilers w does not contain Question 2 Consider the following language over the alphabet = {a,b}: L = {w the substring aa} 1. What is I, the complement of L? 2. Write a regular expression for L. 3. Write a regular expression for L. 4. Design a DFA for I. 5. Modify the DFA for I to make it a DFA for L.
c++ Hi dear, Please do not write a code. i want you just draw the sequence of red-black trees. write which case (1-6) is being applied next each tree in the sequence show your work
URGENT ! PLEASE DO IN C# AND MAKE SURE I CAN COPY COPY CODE INTO VISUAL STUDIO Define a method named SortArray() to sort a one dimensional array of integers. YOU MAY NOT CALL A BUILT-IN SORTING FUNCTION, but should write your own. The method should return the sorted array. You may use whichever sorting algorithm you prefer, in order to sort the array. Please initialize an array and fill it with random values before beginning. Ensure that it has...
USING VISUAL BASIC STUDIO PLEASE PROVIDE THE CODE IN C# LANGUAGE SELECT CONSOLE APPLICATION You are to create a House with 2 rooms in the house. The following is an example of C++ code for the basic classes: **in C#, it may be written differently** class Room { private: double L; double W; public: //functions go here. } class House { private: Room room1; Room room2; public: //functions go here } The code above is C++ version. In C#, you...
This is a C++ code, ıt works successfully, I want to convert to C language It is very emergency!! Please help #include<iostream> using namespace std; void findWaitingTime(int processes[], int n, int bt[], int wt[], int quantum) { int rem_bt[n]; for (int i = 0 ; i < n ; i++) rem_bt[i] = bt[i]; int t = 0; while (1) { bool done = true; for (int i = 0 ; i < n; i++) { if (rem_bt[i] > 0)...
I want help to solve this question (7) In Jazan University, the proportion of full professors, associate professors, assistance professors, and of lecturers is 30%, 40%, 20%, and 10% respectively, of which 60%, 70%, 90%, and 40% hold a PhD diploma, What is the probability that a person taken at random among those teaching at JU holds a PhD diploma?