1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
MrRissso [65]
2 years ago
12

What does %d, , %c, %s mean and what's their difference?

Computers and Technology
1 answer:
Mrrafil [7]2 years ago
7 0
They are placeholders for formatted input/output. %d is for integers, %f or %g are for floating point numbers. If you take a look at the printf man page, it will explain in more detail what all you can do
You might be interested in
Error: At least one of the class levels is not a valid R variable name; This will cause errors when class probabilities are gene
qwelly [4]

Using the knowledge in computational language in JAVA it is possible to write a code that use factor levels that can be used as valid R variable names

<h3>Writting the code in JAVA:</h3>

<em>    method  = "repeatedcv"</em>

<em>  , number  = 10</em>

<em>  , repeats = 1 </em>

<em>  , verboseIter = TRUE</em>

<em>  , summaryFunction  = fivestats</em>

<em>  , classProbs = TRUE</em>

<em>  , allowParallel = TRUE)</em>

<em />

<em />

See more about JAVA at brainly.com/question/12975450

#SPJ1

3 0
1 year ago
Define a method named swapValues that takes an array of four integers as a parameter, swaps array elements at indices 0 and 1, a
Luba_88 [7]

The program is an illustration of arrays.

Arrays are used to hold multiple values.

The program in java, where comments are used to explain each line is as follows:

import java.util.*;

public class Main{

   //This defines the method

public static int[] swapValues(int[] arr) {

   //This swaps the first and second array elements

       int temp = arr[0];

       arr[0] = arr[1];   arr[1] = temp;

   //This swaps the third and fourth array elements

       temp = arr[2];

       arr[2] = arr[3];   arr[3] = temp;

   //This returns the swapped array to main

       return arr;

}

//The main method begins here

   public static void main(String[] args) {

       //This creates a Scanner object

       Scanner input = new Scanner(System.in);

 //This declares an array of 4 elements

 int[] intArray = new int[4];

 //This gets input for the array

 for(int i = 0; i<4;i++){

     intArray[i] = input.nextInt();

 }

 //This calls the swapValues method

 intArray=swapValues(intArray);

 //This prints the swapped array

 for (int i = 0; i < 4; i++){

 System.out.print( intArray[i]+ " ");     }

}  

}

At the end of the program, the elements are swapped and printed.

Read more about similar programs at:

brainly.com/question/14017034

6 0
3 years ago
Driver's ed I need help
UkoKoshka [18]
The second one I believe 
8 0
3 years ago
Read 2 more answers
Who designed analatic engine in the 1930's?​
Lubov Fominskaja [6]

Answer: Charles Babbage

Explanation: English mathematician and inventor Charles Babbage is credited with having conceived the first automatic digital computer. During the mid-1830s Babbage developed plans for the Analytical Engine. Although it was never completed, the Analytical Engine would have had most of the basic elements of the present-day computer.

Hope this helps^^

8 0
3 years ago
The SHAPE of your CO2 car resembles which aerodynamic technologies?
marissa [1.9K]

Rail cars seem to be the most common, especially at the lower grade levels where cars are most often made by hand. These cars can use stock axles and wheels easily, and can be made witth most typical wood working tools.

<span>General Characteristics:
</span>- A narrow "rail" that connects the front axle to the back of the car.
- Typically use external wheels (wheels on the outside of the body).
- The body of the car is usually lower to the ground in the front and middle and then rises up abruptly to hold the CO2 cartridge.

Pros:
- Easiest to build and design.
- Thin rails reduce weight of the car, increasing speed.
- Can be built with normal wood working tools by most normal students.

<span>Cons:
</span>- The thinner the rail, the greater chance of structural failure (breaking).
- Exterior wheels are bad for aerodynamics.
- Body shape tends to encourage drag and hamper good aerodynamics.

<span>The Car:
</span>The Blue Streak by Mr. John Vice, McNabb Middle School, Mount Sterling, KY.

TOP

Shell Cars
Shell cars are a very special breed. These cars are built for one thing only: speed. Most national and state champions use shell car designs. Most often they are made with a CNC and CAD programs, but can be made with hand tools.

<span>General Characteristics:
</span>- Internal wheels.
- Clean aerodynamic "bullet' shape.
- Hollow underside forming a thin "shell" body.

Pros:
- Very low drag aerodynamic shape.
- Usually capable of high speeds by design.
- A great extension activity for gifted middle school students or pre-engineering students.
- A perfect place for math and science activities on aerodynamics through wind tunnel use.
- The highest use of technology when designed on CAD and created with a CNC.

<span>Cons:
</span>- Requires special wheels, axles and attachment clips - all non-stock parts that will add cost.
- More difficult to build, especially by hand; may be beyond the skill level of younger students.
- Shell cars tend to all look similar reducing individual creative expression.
- Often requires special tools such as a CNC lathe and CAD program.

<span>The Car:
</span>The Black Widow by Mr. John Vice, McNabb Middle School, Mount Sterling, KY.

TOP

Show Cars
The first thing that comes to mind when one sees a good show car is "Wow!" These cars are often spectacular to look at, and very often never experience a race. Built for showing, not racing, show cars are works of art that display the creativity of their builders.

<span>General Characteristics:
</span>- Stunning design.
- High degree of creativity in the design.
- Usually very intricate and delicate in their construction.
- Very showy paint jobs with glass like finishes.

Pros:
- Just plain cool to look at.
- An excellent way to develop visualization, design, and manufacturing skills.

<span>Cons:
</span>- Normally not made for racing.
- Showy designs often flaunt structural weaknesses making them fragile.
- Often uses special chrome parts, such as rims, that are an added expense.
- Usually requires special tools such as a rotary sanding tool to create intricate details.
- May be beyond the skill level of many students.

<span>The Car:
</span>The Red Rocket by Meaghan M., Webb City Junior High, Webb City, Missouri.

TOP

Transportation Modeling Cars
These cars look like, well, cars. Modeled after some type of real automobile or truck, TM cars are similar to show cars in that they often do not race and are built more for looks than speed. In national competitions, TSA will vary the theme for the subject from year to year, ranging from cars to ambulances to even school busses!

<span>General Characteristics:
</span>- TM cars are recognizable as actual vehicles that one would see in real life.

Pros:
- A cool challenge to the design and build skills of their creators.


3 0
3 years ago
Other questions:
  • A ____ is a program that is installed without the permission or knowledge of the computer user, that is designed to alter the wa
    11·1 answer
  • Write an efficient C++ function that takes any integer value i and returns 2^i ,as a long value. Your function should not multip
    13·1 answer
  • What is big data<br>please explain why it is called big and do the data necessarily mean numbers​
    11·1 answer
  • My home PC has IP address 192.168.1.22 and connects to the Internet through a NAT router. Assume I am downloading a web page fro
    5·1 answer
  • Who is responsible for keeping your facility in compliance? A) Technicians B) Supervisors C) Owners D) All of the above
    11·1 answer
  • You should always be afraid to use the internet<br><br> True or false?
    11·1 answer
  • Code Problem 3 in Python 2.
    5·1 answer
  • Use the drop down menus to describe how adman can add shapes to his presentation
    13·1 answer
  • The notes added to slides can be seen during the presentation. TRUE OR FALSE​
    13·1 answer
  • When proofreading, you should do all of the following except _____.
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!