Program # 03: Program to Check Whether a character is Vowel or Consonant. #include using namespace std; int main() { char c; int islowercaseVowel, isUppercaseVowel; cout << "Enter an alphabet: "; cin >> c; // evaluates to 1 (true) if c is a lowercase vowel isLowercaseVowel = (c == 'a' || c == 'e' || c == '' || c == 'o' || c == 'u'); // evaluates to 1 (true) if c is an uppercase vowel isUppercaseVowel = (c == 'A' || c == 'E' || c == 'l' || c == '0' || c == 'U'); // show error message if c is not an alphabet if (lisalpha(c)) printf("Error! Non-alphabetic character."); else if (isLowercaseVowel || isUppercaseVowel) cout <
Q: What is design? Who does it? Why is it important? What are the steps to do it?
A: WHAT IS A style PROCESS? It’s a scientific series of steps that helps you to outline, arrange and m...
Q: Consider the following declaration: (1, 2)double currentBalance[91];The array nameb. The array sizec...
A: a.The array name is currentBalanceb. The array size is 92c. The data type of each array component is...
Q: Define use case with in actors, main success scenario , extensions ... A hotel reservation system su...
A: Use case diagram: The purpose of use case diagram is to capture the dynamic aspect of a system. Howe...
Q: The question and scenario are provided in the images below.
A: WHY WE USE WORK BREAKDOWN STRUCTURES To understand why WBS are very helpful, picture the following...
Q: Make a use case description table of BUY ITEM of Shoppee online shopping system app.
A: Make a use case description table of BUY ITEM of Shoppee online shopping system app.
Q: Q. CSS types are: a. Inline b. Internal c. External d. all of the above
A: Given mcq is related to web development.
Q: With the aid of a diagram, explain how to apply a Work Breakdown Structure (WBS) in managing a typic...
A: I have provided a solution in step2.
Q: A(n) ____ is one that does not run as a separate (stand-alone) program. A. second-generation la...
A: A(n) ____ is one that does not run as a separate (stand-alone) program. A) second-generation languag...
Q: A nursing and midwifery training college institution based in Sekondi Takoradi Ghana, is besieged wi...
A: a Technical solutions can be found that match the long-term goals of companies or organizations or i...
Q: Take inputs from user and store them in an Array?
A: How to Take Array Input in Java Java doesn't give any direct thanks to take array input. however we ...
Q: in sql The ALTER SEQUENCE statement can be used to: ...
A: We are going to see what Alter sequence can be used for:
Q: MCQ Q. How many types does css have? a. 3 b. 2
A: This question is related to css web designing.
Q: 4. Often some situation arises in programming where data or input is dynamic in nature, i.e. the num...
A: Such situations require dynamic memory allocation. In this case, a strong memory allocation should b...
Q: Regardless of the type of data between in a chart, it should be in __________ order. Multiple Ch...
A: Regardless of the type of data between in a chart , It should be in which order ?
Q: a. Create a class named RouteInformation within the Q3 package (folder). The class contains the foll...
A: package Q3; public class Location { String locationName; Double latitude; Double longitude; public...
Q: C++ Multiple Choice: What would be the appropriate function header/prototype for the overloaded...
A: This question is based on c++ programming.
Q: 12. If an Ethernet destination address is 08:07:06:05:44:33, then this is a ______ address. a. uni...
A: Given that, 12. If an Ethernet destination address is 08:07:06:05:44:33, then this is a ______ addre...
Q: Discuss the strategic approach to software testing. What are the goals of testing?
A: Answer: 1. The acceptance testing goal is to test the software whether it meets the customer's actua...
Q: Since, you are an MIS major graduate, you suggest your company to get a New Video-Conferencing Marke...
A: Database Design is a collection of processes that facilitate the designing, development, implementat...
Q: Traceability is an important requirements attribute. It's one of the things that should be checked w...
A: Performing a requirements traceability analysis is an important part of the software engineering pro...
Q: package Q2;import java.io.FileInputStream;import java.io.FileNotFoundException;import java.util.Arra...
A: Code: package Q2; import java.io.FileInputStream; import java.io.FileNotFoundException; import java...
Q: Make the code below offer three ways of to display output.GUI window or Print on screen or save to t...
A: Make the code below offer three ways of to display output.GUI window or Print on screen or save to t...
Q: Create a presentation (PowerPoint) explaining O-O analysis, including definitions of basic terms, in...
A: GIVEN: Create a presentation (PowerPoint) explaining O-O analysis, including definitions of basic ...
Q: PROGRAMMING LANGUAGE: C++ What is the syntax of overloading ‘*’ operator for a class Matrix. (You ...
A: What is the syntax of overloading ‘*’ operator for a class Matrix.
Q: File handling in c++
A: File handling Files are used to store data in a storage device permanently. File handling provides a...
Q: in sql Store procedures reduce network traffic and increase performance. Select one: a. False b...
A: SQL (Structured Query Language) is a standard programming language that used to manage relational da...
Q: 31. In the Ethernet, the _______field is actually added at the physical layer and is not (formally) ...
A: Given that, 31. In the Ethernet, the _______field is actually added at the physical layer and is not...
Q: For a direct-mapped cache with 64KIB data, 8-word blocks, and 32-bit addresses, answer the following...
A: a) The number of blocks/lines in the cache. b) The bits in the 32-bit address that are used as ind...
Q: When managers in hotels plan to purchase new technologies or upgrade their existing systems in their...
A: I have provided solution in step2
Q: 33. Standard Ethernet (10-Mbps) uses _______ encoding. a. NRZ b. AMI c. Manchester d. differ...
A: Please see the next step for answer.
Q: Assume that I is a grayscale image, I1 is obtained by applying histogram equalization on I, and I2 i...
A: I have provided solution in step2.
Q: We find that the margins of Microsoft and Intel are higher compared to the PC manufacturers, we find...
A: supplier and complementor
Q: 25. Gigabit Ethernet access methods include _______ mode. a. half-duplex b. full-duplex c. bot...
A: Gigabit Ethernet access methods include half- duplex using traditional CSMA/CD (not common), carrier...
Q: This is an information security question..
A: In terms of Key Length The key length in assymetric cryptography is very high in the range of 1024-...
Q: Compared to a modern computer, what is the Turning machine missing? memory I/O ...
A: the above-mentioned question asks Compared to a modern computer, what is the Turning machine missing...
Q: Central Bank policy requires Northern Bank to hold 10% of its deposits as reserves. Northern Bank po...
A: Question :- Central Bank policy requires Northern Bank to hold 10% of its deposits as reserves. Nort...
Q: Fill in the blank question- Only answer needed without explanation Q. _____________ is used for crea...
A: Is used for creating jus a pipe file.
Q: ies in relational algebra. Find the username of users who are from ‘Muscat’. Find the IDs of picture...
A: 1. Find the username of users who are from ‘Muscat’ SELECT username FROM users where place='Muscat'...
Q: can sameone solve this thanks
A: I- F(W, X, Y, Z) = m (5, 6, 8, 9, 10, 12,15) d- Derive the Truth Table for the function F W X Y Z...
Q: For Marketing & order tracking purposes, which software & techniques will you choose? And Wh...
A: For Marketing & order tracking purposes, which software & techniques will you choose? And ...
Q: Translate the following English sentence into predicate logic. Use the predicat "All CS students tak...
A: Here the above statement holds true for all students. So we need to use universal quantifier for stu...
Q: A hotel reservation system supports the following functionality: (a) Room reservation (b) Changing t...
A: ANS 1. The use cases are described by the following use case Diagram :-
Q: package Q2;import java.io.FileInputStream;import java.io.FileNotFoundException;import java.util.Arra...
A: package Q2;import java.io.FileInputStream;import java.io.FileNotFoundException;import java.util.Arra...
Q: Write short notes on cyclomatic complexity and its evaluation and Halstead’s metrics.
A: Cyclomatic Complexity in Software Testing is a testing metric used for measuring the complexity of a...
Q: Write an assembly code that perform the following ; vall = (al * bl + val2 ) /2 Consider the followi...
A: Assembly code :-DATA SEGMENT al DB 3 bl DB 2 val2 DB 2 val1 DW ? ENDS CODE SEGMENT ASSUME DS:DATA CS...
Q: Q2. An array of seven LED is used to show the outcome of rolling a die. Design a circuit that illumi...
A: Given:
Q: help please
A: Given that Increases number of hops may be correlated with increased time for the spread of informat...
Q: what are the risk of The use of contractual service providers for processing information systems app...
A: The decision to source is additional difficult and risky, because of enhanced restrictive scrutiny o...
Q: Write a program which has a class named binary which has a character array to store a binary string....
A: Write a program which has a class named binary which has a character array to store a binarystring. ...
Q: The following class maintains an account balance and returns a special error code. public class Acco...
A:
Step by step
Solved in 3 steps with 2 images
- #include using namespace std; int main() int x=1,y=2; for (int i=0; i<3; i++) e{ x=x*y; 8{ } cout<be recor #include #include minutes #include limit on int func(int, int, int, int); main(){ srand(time(NULL)); int a, b, c, fNum; printf("Choose three different numbers between 0-39:"); scanf ("%d%d%d", &a, &b, &c); fNum = func (a, b, c, 25); printf("\nThe result: %d", fNum); } int func (int ul, int u2, int u3, int iter){ srand (time (NULL)); int n1=0, i=0, count=0; for (;iint x1 = 66; int y1 = 39; int d; _asm { } mov EAX, X1; mov EBX, y1; push EAX; push EBX; pop ECX mov d, ECX; What is d in decimal format?Number guessing Game Write a C program that implements the “guess my number” game. The computer chooses a random number using the following random generator function srand(time(NULL)); int r = rand() % 100 + 1; that creates a random number between 1 and 100 and puts it in the variable r. (Note that you have to include <time.h>) Then it asks the user to make a guess. Each time the user makes a guess, the program tells the user if the entered number is larger or smaller than its number. The user then keeps guessing till he/she finds the number. If the user doesn’t find the number after 10 guesses, a proper game over message will be shown and the actual guess is revealed. If the user makes a correct guess in its allowed 10 guesses, then a proper message will be shown and the number of guesses the user made to get the correct answer is also printed. After each correct guess or game over, the user decides to play again or quit and based on the user choice, the computer will make…Q 6:- Specify the local and Global variables used in the code below and express the reason r'. #include int a=10,b; void main() { printf("a = 8d and b=%d“,a,b) ; #include void main() { int x-23, y-4; printf("x = %d and y=sd“,x,y);#include <iostream> using namespace std; char let; int Final (int &num1, int num2); double Final (double num1, double &num2); int main( ) { int a, b, c; double line[5] = {1, 2, 3, 4, 5}; a = 200; b = 100; c = 10; let = 'A'; c = Final (a, b); line[0] = Final (line[2], line[2]); for (int i = 0; i < 5; i++) cout << line[i] << endl ; cout << let << endl; return 0; } int Final (int &num1, int num2) { int sum, num3 = 10; let = 'X'; num2 = num3; sum = num1 + num2; return sum; } double Final (double num1, double &num2) { double sum, num3 = 3.1; num2 = num3; sum = num1 + num2; return sum;C ++ Lab Cross Out Write a program that will ask for a sentence and letters to cross out. It should then print the sentence with the given letters changed to ‘X’ and it should say how many letters were crossed out. It should work regardless of case.8. Determine the value of variable num1, num2 and num3 at the end of the following code. int product(int A, int *B){ *B += 1; A *= *B; return A; } int main(){ int num1 = 2, num2 = 3, num3; num3 = product(num2, &num1); O A. num1 = 3, num2 = 3, num3 = 9 num1 = 2, num2 = 3, num3 = 9 num1 = 2, num2 = 3, num3 = 6 %3D D. num1 = 3, num2 = 2, num3 = 6 B.I assume the following 2 codes express the same meaning? int myvar; int * myptr = &myvar; and int myvar; int * myptr; myptr = &myvar;#include <stdio.h>int main(){int d;int s[20],i, j, p, lg=0,m,t=0;char c;printf("Enter number of sale: ");scanf("%d", &d);for(i=0; i<d; i++){ printf("\n sales %d sales: ",i+1);scanf("%d", &s[i]);}for(i=0; i<d; i++){for(j=i+1; j<d; j++){if(s[i] > s[j]){p= s[i];s[i] = s[j];s[j] = p;}}}printf("\n sales lowest to highest: ");for(i=0; i<d; i++){printf("\nsales %d ", s[i]);}printf("\n highest: %d ",t);getch();} it should be: highest : 2000C++ please #include <iostream> #include <string> using namespace std; int DateParser(string month) { int monthInt = 0; if (month == "January") monthInt = 1; else if (month == "February") monthInt = 2; else if (month == "March") monthInt = 3; else if (month == "April") monthInt = 4; else if (month == "May") monthInt = 5; else if (month == "June") monthInt = 6; else if (month == "July") monthInt = 7; else if (month == "August") monthInt = 8; else if (month == "September") monthInt = 9; else if (month == "October") monthInt = 10; else if (month == "November") monthInt = 11; else if (month == "December") monthInt = 12; return monthInt; } int main () { while (std::getline(std::cin, date)) { if (date == "-1") { break; } std::string month = date.substr(0, date.find(" ")); int firstComma = date.find(","); if (firstComma == std::string::npos) { continue; } int day; try { day = std::stoi(date.substr(month.length() + 1, firstComma - month.length() - 1)); } catch…using System; using System.Linq; using System.Text; namespace Games; { class Program { staticvoid Main(string[] args) { int choice,games_choice; cout<<"What are your favorite games - outdoor or indoor"<<endl; cout<<"Press 1 for 'outdoor' or Press 2 for 'indoor'"<<endl; cin>>choice; if(choice==1) { cout<<"What is your favorite outdoor game"<<endl; cout<<"Press 1 for Tennis"<<endl; cout<<"Press 2 for Football"<<endl; cout<<"Press 3 for Cricket"<<endl; cin>>games_choice; if(games_choice==1) cout<<"I also like Tennis"<<endl; elseif(games_choice==2) cout<<"I also like Football"<<endl; elseif(games_choice==3) cout<<"I also like Cricket"<<endl; } elseif(choice==2) { cout<<"What is your favorite indoor game"<<endl; cout<<"Press 1 for Ludo"<<endl; cout<<"Press 2 for Chess"<<endl; cout<<"Press 3 for Cards"<<endl;…SEE MORE QUESTIONSRecommended textbooks for youC++ for Engineers and ScientistsComputer ScienceISBN:9781133187844Author:Bronson, Gary J.Publisher:Course Technology PtrC++ for Engineers and ScientistsComputer ScienceISBN:9781133187844Author:Bronson, Gary J.Publisher:Course Technology Ptr