If the words are separated by a different character, such as a comma or semicolon, the program will need to be modified accordingly.
Write a C program using C-strings that reads up to 100 words that are no longer than 15 characters?Sure, here is an explanation for the requested C program:
The program will use an array of strings to store the input words. It will prompt the user to enter up to 100 words, and then read each word using the scanf() function.
The program will check the length of each word to ensure it is no longer than 15 characters, and will discard any words that are too long.
Once all valid words have been read, the program will print them out one by one, using a loop to iterate through the array of strings.
Here is an example implementation:
```
#include <stdio.h>
#include <string.h>
#define MAX_WORDS 100
#define MAX_LENGTH 15
int main() {
char words[MAX_WORDS][MAX_LENGTH + 1]; // array of strings
int count = 0; // number of valid words entered
printf("Enter up to 100 words (no longer than 15 characters each):\n");// read words until EOF or array is full
while (count < MAX_WORDS && scanf("%s", words[count]) != EOF) {
// check length of word
if (strlen(words[count]) <= MAX_LENGTH) {
count++; // increment count if word is valid
} else {
printf("Word '%s' is too long and will be discarded.\n", words[count]);
printf("\n%d valid words entered:\n", count);
// print out all valid words
for (int i = 0; i < count; i++) {
printf("%s\n", words[i]);
return 0;
}
```
Note that this program assumes that the words entered by the user are separated by whitespace (spaces, tabs, or newlines).
Learn more about modified accordingly
brainly.com/question/11311760
#SPJ11
characteristics of the printer
A type of topology in which all the systems a connected a main cable
Answer:
Bus topology uses one main cable to which all nodes are directly connected. The main cable acts as a backbone for the network. One of the computers in the network typically acts as the computer server. The first advantage of bus topology is that it is easy to connect a computer or peripheral device.
3 uses for a GPS system other than for a satellite navigation system
Answer:
Location – determining a position. Navigation getting from one location to another. Tracking – monitoring object or a personal movement. Mapping – creating maps of the world.
Which activity is performed during high-level design in the V-model?
A. gathering user requirements
B. understanding system design
C. understanding component interaction
D. evaluate individual components
E. design acceptance test cases
Answer:
B or E don't sure which one
HELLLP PLEASEEEEEEEEE
Answer:
torque
a twisting or turning force.Hope it will help :)
In a series circuit, resistance is?
Answer:
In a series circuit, the total resistance is equal to the sum of all resistances.
Explanation:
The same current passes through each resistor, so each resistor does its job as you would expect.
For Example:
a series circuit has a 2 Ω (ohm) resistor, a 5 Ω resistor, and a 7 Ω resistor. The total resistance of the circuit is 2 + 5 + 7 = 14 Ω.
Which language gives instructions on how text should appear on a web page?
__Blank__ language gives instruction on how text should appear on a web page.
Answer:
HTML
HTML stands for HyperText Markup Language, so HTML gives you a way to “mark up” your text with tags that tell the browser how your text is structured.
Answer:
Markup language
Explanation:
create html code showing heading tags
Answer:
Assuming you mean the HTML5 head tag, then this may work for you:
<!DOCTYPE HTML>
<html lang="en">
<head>
<title>My Very Awesome Website</title>
<link href="./css/main.css" rel="stylesheet" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
</head>
<body>
<h1>Hey look</h1>
<p>This is my awesome website!</p>
<h3>Note</h3>
<p>This website is supposed to be 100% awesome!</p>
</body>
</html>
PLS HELP
1. You can tape a movie off Showtime.
a. if you use it for educational purposes.
b. only if you have written permission from the company.
c. so that it may be archived.
d. to use as an entertainment for your great students.
2. You may photocopy parts of the encyclopedia:
a. if it is for your use only.
b. only if your copy is of the subject you are researching.
c. if you don’t have a copy at home.
d. to pass out to all your students.
3. You may record a local symphony concert to share with your class:
a. as long as you don’t sell tickets to hear it.
b. as long as you use it at a listening center in your room.
c. if you relate it to your lessons.
d. you may not record a public performance of any kind.
4. You may make a copy of a computer program:
a. if you are giving it to a friend.
b. as long as you purchased it and are using it for a back-up copy.
c. as long as you downloaded it from the internet.
d. you may not copy software.
5. You may use any image from the Internet or clip art software:
a. if you know that no one will know.
b. if you save it as an “image” and give it a new name.
c. as long as it is confirmed to be “royalty free”.
d. you cannot copy any photograph, artwork, or image without permission.
Answer:
1. so that it may be archived
2.to pass out to all your students
3.if you relate it to your lessons
4.as long as you've purchased it and you are using it for back up copy
5.C
A loan of $12000 was borrowed from the bank at 14% per annum calculate the interest on the loan at the end of the first year ?
Answer:
lmasjsjsjssjjssjjssjsjjsksakkalaaooaa
Loan borrowed = $12,000
Percentage of interest on the loan per annum = 14%
We know that :
[tex]\color{hotpink}\tt \: Simple \: interest = \color{plum}\frac{principal \times rate \times time}{100} [/tex]
In this case :
principal = $12000rate = 14%time = 1 yearSimple interest at the end of the first year :
[tex] = \tt \frac{12000 \times 14 \times 1}{100} [/tex]
[tex] = \tt \frac{168000}{100} [/tex]
[tex]\color{plum}\tt = \$1680[/tex]
Thus, interest = $1680
Therefore, total interest on the loan at the end of one year = $1680
Which item would not generate a desktop alert by default in Outlook 2016?
new contact created
meeting request received
email received
task assignment received
i couldn't find this awnser and my teacher is extending our test period for another 20 minutes. please help
Answer:
New contact created does not generate a desktop alert by default.
Explanation:
edg.2021
Answer:
A
Explanation:
Please help!!
The following are two different images that are encoded using the same algorithm. The images are each in a 5 by 5 grid of pixels where each pixel is black, white, red, green or blue.
The image on the left gets encoded and compressed down to 21 digits while the image on the right gets compressed down to 25 digits. Although the same algorithm was used to encode and compress these images, why are the end results a different length?
The algorithm was probably used improperly in the image on the right, causing it to be a longer length than it should have been.
Because this is a lossy compression, sometimes information is lost during the compression.
The amount of size reduction from compression depends on the amount of redundancy in the original data.
The image on the right uses more colored squares and therefore requires more digits to represent the pixels.
Answer: The amount of size reduction from compression depends on the amount of redundancy in the original data.
The reason why the end results have a different length is because: C. The amount of size reduction from compression depends on the amount of redundancy in the original data.
What is a lossy compression?A lossy compression is also referred to as irreversible compression and it can be defined as a type of data encoding (data compression algorithm) in which the data in a file such as an image, is removed by using inexact approximations, in order to reduce the amount of size of a file after decompression.
Since the same algorithm was used to encode and compress these images, the reason why the resulting images have a different length is simply because the amount of size reduction from compression depends on the amount of redundancy in the original image file (data).
Read more on lossy compression here: https://brainly.com/question/17542014
What is Binary
A part of a computer
A base 2 number system
A computer program
Software for a computer
Can you all help me with this?
Answer:
(1)mobile smart phone.
(2)server computer.
(3)desktop computer
(4)laptop computer
(5)all in one computer
Describe some common types of charts.
Answer:
The four most common are probably line graphs, bar graphs and histograms, pie charts, and Cartesian graphs. They are generally used for, and are best for, quite different things.
Explanation:
Line chart- A graph with points connected by lines to show how something changes in value: • as time goes by, • or as something else changes.
Example: how you are improving at a quiz each day.
Bar chart- A graph drawn using rectangular bars to show how large each value is. The bars can be horizontal or vertical. It is a really good way to show relative sizes. We can use bar graphs to show the relative sizes of many things, such as what type of car people have, how many customers a shop has on different days and so on.
Histogram- a graphical display of data using bars of different heights. It is similar to a Bar Chart, but a histogram groups numbers into ranges . The height of each bar shows how many fall into each range.
Pie chart- a special chart that uses "pie slices" to show relative sizes of data. It is a really good way to show relative sizes.
Cartesian chart- This is a type of chart that uses coordinates to pinpoint where something is on a map or graph. Using Cartesian Coordinates we mark a point on a graph by how far along and how far up it is.
Sam works in a real estate office. An offer comes in on a house but the homeowners are on vacation. He needs the homeowners to sign a document to accept the offer. What should Sam do?
Answer:
Sam should send a digital document and request a signature. The could be fax or even an image printed out, if neither is possible get in contact with eh owner and his lawyer for more help.
Explanation:
Answer:
Sam should call the homeowners’ cell phone to inform them of the offer and fax a copy of the document using the office fax machine. The homeowner should sign the document and fax it back. Sam may also conduct an Internet search to find the fax machine closest to the client.
Explanation:
got it right on edge
Pls help I’m not trying to fail this
Answer:
B makes the most sense to me
Explanation:
a collection of logically related instructions is called _______
Answer:
Data Base from what I know
Explanation:
Para que se utilizan las siguientes plataformas: Matlab, Labview, VisualBasic, Mplab, Micropic, PicCompiller
Answer:
MATLAB (abreviatura de MATrix LABoratory, «laboratorio de matrices») es un sistema de cómputo numérico que ofrece un entorno de desarrollo integrado (IDE) con un lenguaje de programación propio (lenguaje M). Está disponible para las plataformas Unix, Windows, macOS y GNU/Linux.
Entre sus prestaciones básicas se hallan la manipulación de matrices, la representación de datos y funciones, la implementación de algoritmos, la creación de interfaces de usuario (GUI) y la comunicación con programas en otros lenguajes y con otros dispositivos hardware.
LABVIEW (acrónimo de Laboratory Virtual Instrument Engineering Workbench) es una plataforma y entorno de desarrollo para diseñar sistemas, con un lenguaje de programación visual gráfico pensado para sistemas hardware y software de pruebas, control y diseño, simulado o real y embebido.
Visual Basic (VB) es un lenguaje de programación dirigido por eventos, desarrollado por Alan Cooper para Microsoft. Este lenguaje de programación es un dialecto de BASIC, con importantes agregados. Su primera versión fue presentada en 1991, con la intención de simplificar la programación utilizando un ambiente de desarrollo.
MPLAB es un editor IDE gratuito, destinado a productos de la marca Microchip. Este editor es modular, permite seleccionar los distintos microcontroladores soportados, además de permitir la grabación de estos circuitos integrados directamente al programador.
MICROPICUn PIC es un circuito integrado programable (Programmable Integrated Circuited), el cual contiene todos los componentes para poder realizar y controlar una tarea, por lo que se denomina como un microcontrolador. Los PIC son una familia de microcontroladores tipo RISC fabricados por Microchip Technology Inc. y derivados del PIC1650, originalmente desarrollado por la división de microelectrónica de General Instrument.
PICCOMPILER
El Portable C Compiler o Compilador de C Portable (también conocido como pcc o, algunas veces, como pccm - máquina de compilador de C portable) fue uno de los primeros compiladores para el lenguaje de programación C escrito por Stephen C. Johnson de los Laboratorios Bell a mediados de los 70, basado, en parte, en las ideas de un trabajo previo de Alan Snyder en 1973.
Explanation:
MATLAB (abreviatura de MATrix LABoratory, «laboratorio de matrices») es un sistema de cómputo numérico que ofrece un entorno de desarrollo integrado (IDE) con un lenguaje de programación propio (lenguaje M). Está disponible para las plataformas Unix, Windows, macOS y GNU/Linux.
Entre sus prestaciones básicas se hallan la manipulación de matrices, la representación de datos y funciones, la implementación de algoritmos, la creación de interfaces de usuario (GUI) y la comunicación con programas en otros lenguajes y con otros dispositivos hardware.
LABVIEW (acrónimo de Laboratory Virtual Instrument Engineering Workbench) es una plataforma y entorno de desarrollo para diseñar sistemas, con un lenguaje de programación visual gráfico pensado para sistemas hardware y software de pruebas, control y diseño, simulado o real y embebido.
Visual Basic (VB) es un lenguaje de programación dirigido por eventos, desarrollado por Alan Cooper para Microsoft. Este lenguaje de programación es un dialecto de BASIC, con importantes agregados. Su primera versión fue presentada en 1991, con la intención de simplificar la programación utilizando un ambiente de desarrollo.
MPLAB es un editor IDE gratuito, destinado a productos de la marca Microchip. Este editor es modular, permite seleccionar los distintos microcontroladores soportados, además de permitir la grabación de estos circuitos integrados directamente al programador.
MICROPICUn PIC es un circuito integrado programable (Programmable Integrated Circuited), el cual contiene todos los componentes para poder realizar y controlar una tarea, por lo que se denomina como un microcontrolador. Los PIC son una familia de microcontroladores tipo RISC fabricados por Microchip Technology Inc. y derivados del PIC1650, originalmente desarrollado por la división de microelectrónica de General Instrument.
PICCOMPILER
El Portable C Compiler o Compilador de C Portable (también conocido como pcc o, algunas veces, como pccm - máquina de compilador de C portable) fue uno de los primeros compiladores para el lenguaje de programación C escrito por Stephen C. Johnson de los Laboratorios Bell a mediados de los 70, basado, en parte, en las ideas de un trabajo previo de Alan Snyder en 1973.
Do all careers or professions need computer science?
Answer:
no computer science is only needed for coders and engineers not for all is needed ok or one thing is that you study for your knowledge ok
Explanation:
hope it helps you
please mark me as brainlist
Mediante el contacto de las ruedas dentadas un engranaje transmite un movimiento a. Rectilíneo b. Circular c. Ondulatorio
Answer:
La respuesta es b: circular
Explanation:
Las ruedas dentadas tienen dientes que rodean a todo el perímetro de la rueda , esto logra que las ruedas dentadas entren en contacto entre ellas sin causar fricción,el movimiento que realizan es circular.
What was the biggest challenge you faced in getting to where you are today and how did you overcome it? Peer counseling
What's wrong with these codes in code HS Karel challenges(7.1.2. Racing Karel) Codes: //Below is the program that have Karel move around the race track 8 times, and end in his starting location. Everytime Karel hits a corner, he will put a ball down. At the end there should be 8 balls on each corner. function start(){ for(var i = 0; i < 5; i++){ ballSet(); wallRun(); turnLeft(); } function wallRun(){ while(frontIsClear()){ move(); } } function ballSet(){ putBall(); } }
Answer:
The program only runs 5 five since the for loop statement is limited to loop only five times.
Explanation:
In programming, a for-loop statement is used to repeat a collection of events a definite number of times. The number of loops is specified and compared with a variable to execute a block of code.
The for-loop statement in the code above declares and initializes a variable "i" to zero, runs the block of code, and increments by one if it is less than 5.
To make it run eight times, the value five should be changed to 8 instead.
Answer: you have to change the 5 to 8 since its telling you to do it 8 times
Explanation: for(var i = 0; i < 5; i++) should be for(var i = 0; i < 8; i++)
the computer stores the data and information on the ______
Answer:
Primary memory, it might be cpu but i think its primary memory
Explanation:
1. Light of wavelength 900x10-9 m is emitted by a source. What is its frequency?
therefore the frequency = 6×10^14
The frequency of the light is "[tex]6\times 10^{14}[/tex]".
Given values:
Wavelength,
[tex]\lambda = 900\times 10^{-9} \ m[/tex]
As we know the formula,
→ [tex]Frequency = \frac{C}{\lambda}[/tex]
By substituting the values, we get
→ [tex]= \frac{3\times 10^8}{900\times 10^{-9}}[/tex]
→ [tex]= \frac{10^8}{300\times 10^{-9}}[/tex]
→ [tex]= 6\times 10^{14}[/tex]
Thus the above response is correct.
Learn more about frequency here:
https://brainly.com/question/14459326
Why is computer literacy is important.
Cause it’s a important skill process and they want there employees to have basic skill on pc or computers. They come depending on computers and it’s most likely to be more successful on education with the use of computers
Larry has created a web page using HTML 4.01. He hasn’t included the declaration in the file. When he opens the page in a browser, Larry sees a page load error. Why does Larry need to use the declaration in an HTML file?
A.
to define the HTML version in which the page is written
B.
to define the web language in which the page is written
C.
to tell the browser what the content is
D.
to check whether the code is error-free
Answer:
To define the html version in which the page is written.
Which letter shows the ball when it has the maximum kinetic energy
Answer:
D.
Explanation:
Kinetic energy can be defined as an energy possessed by an object or body due to its motion.
Mathematically, kinetic energy is given by the formula;
[tex] K.E = \frac{1}{2}MV^{2}[/tex]
Where;
K.E represents kinetic energy measured in Joules. M represents mass measured in kilograms. V represents velocity measured in metres per seconds square.Generally, when the final velocity at which a physical object moves is equal to zero (0), then it possess maximum kinetic energy.
Hence, the letter which shows the ball when it has the maximum kinetic energy in the graph attached is D.
1. Visual design and font/background are both essential and considered vital for the success of a web. If you are the developer, which of the two will you be focused on?
Answer:
As a developer, I'd be focused on the two starting with the front end.
Explanation:
A front-end developer simply is a user-end or client-side developer. A front-end person in web design is responsible for how a website looks and feels like, essentially, the websites' users first impression.
This is a huge task and can be very daunting even for the best developers. Whilst the back-end or the engine of a website is critical and indispensable, it is important for a developer to master the principles of front-end development first as that gives him a better perspective as to how they can better create and configure a matching or suitable back end.
Most if not all are designed to achieve a particular purpose e.g.
Increase salescommunicate informationtrainingelicit information etcThe ease with which the user is able to interact with the website will determine the extent to which the purpose of the website is achieved.
Some of the qualities of a great user interface the front end developer must keep in mind are:
Clarity Conciseness Familiarity EfficiencyConsistency AttractivenessBack-end has to do with the part of the website called the server.
In addition to the server, there are two other critical components of the back-end of the website:
Application and Database.Together, these three contribute to ensuring that you have a functional website. The server, application and database, all control what happens on the front end and results in what the user will see via the browser.
There are many high-functioning websites today that have very poor interfaces. A poor interface is a guarantee that people will spend less time on the website.
Conclusively, both ends are indispensable, as with most things, however, one should seek to understand how the user thinks and feels in relation to how they like to use a website before doing into the back-end to make that possible.
Cheers
There are different kinds of designs. As a developer, my Visual design would focus more on background.
Visual design is known to be a kind of design that strike equality between unity and variety. The use of design elements to work on the background and when done properly, gives users a nice experience.Visual design is one that act to improve the design's or the product's aesthetic feeling.
Learn more about Visual design from
https://brainly.com/question/1332211
Which actions changed the look of the following word?
A. The Spelling & Grammar function marked the word as an error.
B. The style of the word was set to underline.
C. The user changed the font size.
D. The word was set in italics, and then underlined.
Answer:
D
Explanation:
The actions applied to change the look of the word are:
1. It was set to italics. This can be done easily by highlighting the word => press Ctrl + I together on the keyboard.
2. Next is to set to underline. While still highlighted => press Ctrl + U together in the keyboard.
Answer:
D
Explanation: