3. Which element in the code below is an inline element? Dessert Menu Crepes with Lemon and Sugar New!Millefeuille Aux Fraises Vanilla Cupcake with Lavender Frosting Chocolate Cupcake with Vanilla Frosting A. B. D.
Q: below is the code I need help with answering the questions in the image//
A: Here is the explanation about the scope of the variables:
Q: for this code pls make a pseudocode or a flow chart #include #include #include #include…
A: C++ is a general-purpose programming language that was developed as an extension of the C…
Q: Word Frequency Write a program that reads the contents of a text file. The program should create a…
A: #include <iterator>#include <iostream>#include <fstream>#include…
Q: YES / NO struct Node1 { uint16_t byte; }; YES / NO struct Node2 { int age; char name[64]; }; YES /…
A: 1. struct Node1{ unit16_t byte; }; Answer: this is the wrong structure declaration of…
Q: For any element in keysList with a value greater than 100, print the corresponding value in…
A: In this question we have to write a code for any element in keysList with a value greater than 100,…
Q: please go in to the detail and explain the purpose and function to each line & function of code…
A: Given question has asked to explain the purpose and function to each line & function of the…
Q: Question 7 Study the following code segment and identify the line number that will cause a syntax…
A: Given code: //Header file #include <iostream> //Using namespace using namespace std;…
Q: None
A: Coded in C++.
Q: Create a program that will prompt for user information for a Web site. Use a structure to store the…
A: I have added the comments in the code. I have also added the output screenshot. If you want to…
Q: C program Given Code: main.c (don’t modify) #include <stdlib.h> #include <stdio.h>…
A: PROGRAM: FILE NAME: “Search.h” //header file #include <stdlib.h> //Initializing row and…
Q: Create formulas under the columns for FIND and SEARCH that will identify the text, "NaN" in the…
A: FIND column: =IFERROR(FIND("NaN",C?),"") SEARCH column: =IFERROR(SEARCH("NaN",C?),"") Change…
Q: Subtract each element in origList with the corresponding value in offsetAmount. Print each…
A: Algorithm: Algorithm to print the difference between the values of two arrays is: Start Read the…
Q: Computer Science Write a program which uses an array of structures to store customer account data.…
A: The header file string included to use compare the function of string. Created 4 structure address,…
Q: 1. Which of the following will display the last value in vector x? a. cout << x[last] << endl; b.…
A: C++ container as the name says is an object that stores a collection of objects of similar type. For…
Q: Create a program that will prompt for user information for a Web site. Use a structure to store the…
A: Actually, c++ is a powerful general purpose language
Q: Visual Basic language The following sequence is called a Fibonacci sequence: 1, 1, 2, 3, 5, 8, 13,…
A: Given:- Visual Basic language The following sequence is called a Fibonacci sequence: 1, 1, 2, 3, 5,…
Q: main.cc file #include int main() { // =================== YOUR CODE HERE…
A: The code defines three classes - Breed, Pet, and main. The Breed class has private member variables…
Q: In C++Take the following code but -for the first option, change it so that instead of the middle…
A: Updated code in cpp: the changed code are in bold letters…
Q: H.W/ The following sequence is called a Fibonacci sequence: 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, ...…
A:
Q: 1. Design and instantiate a structure which has 2 fields: color (line color), positions (positions…
A: DefinitionsTo use a particular circle and rectangle picture many times, it’s simpler to give them…
Q: Code in c language, please. Thank you in advance. Assign listOfPizzas's first element's…
A: Assign listOfPizzas's first element's numberOfCalories with the value in listOfPizzas's second…
Q: oldest_people = [122, 119, 117, 117, 116] # Source: Wikipedia.org nth_person = int(input('Enter N…
A: Hello student The answer will be in next step :--
Q: strcmp is not working line 49 fix strcmp #include //including headers #include struct…
A: You forgot to include #include <string.h>
Q: Question 2 The following code segment will print “Congratulation! Correct answer". [Keratan aturcara…
A: Given:
Q: Incoroporate or use below code as reference #include #include #include typedef struct…
A: *As per the company norms and guidelines we are providing first question answer only please repost…
Q: Visual basic>
A: Public Class Form1 Private Sub btnGenerateArray_Click(sender As Object, e As EventArgs) Handles…
Q: Q5: What would happen if you passed in the address of the initialized global variable into…
A: we can access global variable if there is a local variable through EXTERN and scope resolution . The…
Q: 6. {w \ w doesn't contain exactly two a's}.
A: DFA stands for Design a Finite Automata. A language L is accepted by a DFA < Q , , q0 , , A >…
Q: #include #include #include "llcpInt.h" using namespace std; void DelOddCopEven (Node*& headPtr) {…
A: The code provided seems to have a few syntax errors and logical issues. However, to address the…
Q: Rearrange the code blocks below into the proper order by drop them in the yellaw bax below. Tig: The…
A: PFB the arranged blocks.
Q: int main() { int Arr[100],n,max.i.j; cout>n; for(i=0;i>Arr[i];} for(i=0.j-n-1;i<n/2;i++.j--) {…
A: Answer: Minimum number Code and output in the following steps:
Q: Visual Basic.net) Write a Code that defines one dimensional arrays of ten elements that sums the…
A:
Q: C++ main.cc file #include #include #include #include "bank.h" int main() { //…
A: Account.h Step 1: Define a class 'Account' with a constructor taking 'name' and 'balance' as…
Q: In c++ Create a structure named student with two attributes, name and copa. Define structure…
A: Here is the c program of above problem. See below step for code.
Q: Q1: How many total calls to malloc are made during createEmployee (including readEmployee and…
A: Hi there, please find your solution below, I hope you would find my solution useful and helpful,…
Q: /below is the code I need help with answering the questions in the image// #include…
A: Q3: Many people put the SSN in a char[9] field (1 kind of encouraged it). Is that big enough to hold…
Q: Write a complete program that accepts two integer numbers num1 and num2, where num1 <num2. Make sure…
A: Please find the answer below :
Q: /*Line 1:*/ doublevalues[6] = {10, 20, 30, 40, 50, 60}; /*Line 2:*/ double* yalptr= values; /*Line…
A: NOTE: - There is error on line 1 the way of declaring and initializing an array is wrong.…
Q: please go in to the detail and explain the purpose and function to each line & function of code…
A: Answer: Program in C with explanation: #include <stdio.h> //header file for standard input and…
Q: Q5: What would happen if you passed in the address of the initialized global variable into…
A: Here we have given the answer differentiating global and local variables in c. and how they can be…
Q: Q2: If the employee's name is Joe Smith, how much total memory is allocated for the structure and…
A: As per the guidelines we have given answer for the first three question that are Q2, Q3 and Q4. you…
Q: Help me fix all the error in this programme #include #include #include #include using…
A: The solution to the given problem is below.
Q: Given the following code: #include using namespace std; // global variables const int ROWS = 10,…
A: #include <iostream>using namespace std; const int ROWS = 10, COLS = 10; void printArray(char…
Q: Jump to level 1 Add each element in origList with the corresponding value in offsetAmount. Print…
A: We can add corresponding value for each origList and offsetAmount and then can print it.
Q: C++ programming task. main.cc file: #include #include #include #include "plane.h" int…
A: main.cc: #include <iostream>#include <map>#include <vector> #include "plane.h" int…
Q: main.cc file #include int main() { // =================== YOUR CODE HERE ===================…
A: The program is a simple pet management system that allows the user to input information about pets…
Q: //below is the code I need help with answering the questions in the image// #include…
A: #include <stdio.h> #include <stdlib.h> typedef struct{ char name[30]; int id;…
Q: Q5: What would happen if you passed in the address of the initialized global variable into…
A: In the current code there is not initialized global employee variable But if there was a global…
Q: /hich of the following are in CNF? Da) ¬(q ^ r) → ¬(p ^ (q V r)) D b) p ^ (¬(¬q ^ ¬r)) → (q ^ r)
A: EXPLANATION: CNF stands for Conjunctive Normal Form. A boolean equation is said to be in CNF if it…
Q: Help me fix my c programming error. #include #include #define _CRT_SECURE_NO_WARNINGS void…
A: C program: C is a general purpose programming language. It was developed by Dennis Ritchie in the…
![3. Which element in the code below is an inline element?
<h1>Dessert Menu</h1>
<ul>
<li>Crepes with Lemon and Sugar<li>
<l><strong>New!</strong>Millefeuille Aux Fraises</li>
<li>Vanilla Cupcake with Lavender Frosting</li>
<l>Chocolate Cupcake with Vanilla Frosting</lD
</ul>
A. <strong>
B. <lp
C. <ul>
D. <h1>](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F720da0fa-4344-4e2e-af56-75715f5dffc8%2Fb7e8c20b-ecf4-439d-8932-d19fa8afb8da%2F5p7duut_processed.png&w=3840&q=75)
![](/static/compass_v2/shared-icons/check-mark.png)
Trending now
This is a popular solution!
Step by step
Solved in 2 steps
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
- #include <iostream> #include <cmath> #include <iomanip> using namespace std; int calc_qty(int qty); void receipt( int qty, int qty2); int calc_qty(int qty); void coffee_size(int qty, int size, int choice, int qty2); void slices(); void beanounces(); int main() { int qty = 0, order = 0, size = 0, qty2 = 0; receipt (qty,qty2); calc_qty (qty); do { //displays the menu cout<<" Please select an item on the menu you would like to buy."<<endl; cout<<"Enter 1 for Coffee\n"<<"Enter 2 for cheese cake\n"<<"Enter 3 for coffee beens\n"<<endl; cin>>choice; } switch (choice) { case 1: coffee_size(qty, size, order, qty2); break; case 2: slices(); break; case 3: beanounces(); break; case 4: cout<<"Enjoy your day"<<endl;…C++main.cc file #include <iostream>#include <map>#include <vector> #include "bank.h" int main() { // =================== YOUR CODE HERE =================== // 1. Create a Bank object, name it anything you'd like :) // ======================================================= // =================== YOUR CODE HERE =================== // 2. Create 3 new accounts in your bank. // * The 1st account should belong to "Tuffy", with // a balance of $121.00 // * The 2nd account should belong to "Frank", with // a balance of $1234.56 // * The 3nd account should belong to "Oreo", with // a balance of $140.12 // ======================================================= // =================== YOUR CODE HERE =================== // 3. Deactivate Tuffy's account. // ======================================================= // =================== YOUR CODE HERE =================== // 4. Call DisplayBalances to print out all *active* // account…The elements displayed by the following section code For(m=1;m<=5;m++) cout <<a[m] <<"" ;
- Computer Science csv file "/dsa/data/all_datasets/texas.csv" Task 6: Write a function "county_locator" that allows a user to enter in a name of a spatial data frame and a county name and have a map generated that shows the location of that county with respect to other counties (by using different colors and/or symbols). Hint: function(); $county ==; plot(); add=TRUE.Transcribed Image Text #include<stdio.h> #include<string.h> #include<conio.h> #include<stdlib.h> int i; char n=1,username[16],password[ 30],ch; void welcome() { system ("@cls||clear"); printf("\t\tWECOME TO MY SITE\n"); } int main() { while(n<=3) { welcome(); printf("\n\NLOGIN HERE!"); printf("\n\nUSERNAME : "); scanf ("%s",&username); printf("PASSWORD: "); for (i=0;i<16;i++) { ch = getch(); if(ch==13) { password[i]='\0'; break; password[i]=ch; printf("*"); password[i]='\0'; printf("\n\n"); system("pause"); if(strcmp(username, "rolan")==0) if(strcmp(password, "12345")==0) { welcome(); printf("\n\NYOU'VE LOGIN SUCCESSFULLY!"); break; else welcome(); printf("\n\nWRONG PASSWORD. You have %d attempt/s left...",3-n); else welcome(); printf("\n\NUSER DOESN'I EXIST. You have %d attempt/s left...",3-n); getch(); n++; if(n==4) { welcome(); printf("\nSORRY! YOU CAN'T LOGIN."); break; getch(); } }When elements of only same data types are in one data structure, it is said to be O homogenous O LIFO O Unique O heterogenous
- In Python Asap plsIn c++ Create a structure named student with two attributes, name and copa. Define structure variables s1, in the main block(local to main menthod), s2(global), two structure variable as an array. Scan over all four structure variables and display. For example: Test Input Result 1 218CES001 7.1 215001 7.1 218CE500) 7.3 2105004 21BCES003 7.3 218CES004 7.4 7.4 218CE5002 21BC5002 7.2 7.2use code below in part with bts #include <stdio.h>#include <stdlib.h>#include <time.h> typedef struct node_struct {int item;struct node_struct *next;} node; /*** 10->NULL* We want to insert 20* First call ([10], 20) [not complete]* {10, {20, NULL}} To compute the conditional probabilities you need to determine unigram andbigram counts first (you can do this in a single pass through a file if you do thingscarefully) and store them in a Binary Search Tree (BST). After that, you can computethe conditional probabilities.Input filesTest files can be found on (http://www.gutenberg.org/ebooks/). For example,search for “Mark Twain.” Then click on any of his books. Next download the “PlainText UTF-8” format.In addition, you should test your program on other input files as well, for which youcan hand-compute the correct answer.Output filesYour program must accept the name of an input file as a command line argument.Let's call the file name of this file fn. Your program must…
- In C++, no additional headers please, just complete the two functions. The second image has the expected output when function is called.//below is the code I need help with answering the questions in the image// #include <stdio.h> #include <stdlib.h> struct employees { char name[20]; int ssn[9]; int yearBorn, salary; }; // function to read the employee data from the user void readEmployee(struct employees *emp) { printf("Enter name: "); gets(emp->name); printf("Enter ssn: "); for (int i = 0; i < 9; i++) scanf("%d", &emp->ssn[i]); printf("Enter birth year: "); scanf("%d", &emp->yearBorn); printf("Enter salary: "); scanf("%d", &emp->salary); } // function to create a pointer of employee type struct employees *createEmployee() { // creating the pointer struct employees *emp = malloc(sizeof(struct employees)); // function to read the data readEmployee(emp); // returning the data return emp; } // function to print the employee data to console void display(struct employees *e) { printf("%s",…//below is the code I need help with answering the questions in the image// #include <stdio.h> #include <stdlib.h> struct employees { char name[20]; int ssn[9]; int yearBorn, salary; }; // function to read the employee data from the user void readEmployee(struct employees *emp) { printf("Enter name: "); gets(emp->name); printf("Enter ssn: "); for (int i = 0; i < 9; i++) scanf("%d", &emp->ssn[i]); printf("Enter birth year: "); scanf("%d", &emp->yearBorn); printf("Enter salary: "); scanf("%d", &emp->salary); } // function to create a pointer of employee type struct employees *createEmployee() { // creating the pointer struct employees *emp = malloc(sizeof(struct employees)); // function to read the data readEmployee(emp); // returning the data return emp; } // function to print the employee data to console void display(struct employees *e) { printf("%s",…
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
![C How to Program (8th Edition)](https://www.bartleby.com/isbn_cover_images/9780133976892/9780133976892_smallCoverImage.gif)
![Database Systems: Design, Implementation, & Manag…](https://www.bartleby.com/isbn_cover_images/9781337627900/9781337627900_smallCoverImage.gif)
![Programmable Logic Controllers](https://www.bartleby.com/isbn_cover_images/9780073373843/9780073373843_smallCoverImage.gif)
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
![C How to Program (8th Edition)](https://www.bartleby.com/isbn_cover_images/9780133976892/9780133976892_smallCoverImage.gif)
![Database Systems: Design, Implementation, & Manag…](https://www.bartleby.com/isbn_cover_images/9781337627900/9781337627900_smallCoverImage.gif)
![Programmable Logic Controllers](https://www.bartleby.com/isbn_cover_images/9780073373843/9780073373843_smallCoverImage.gif)