Alguien me podria ayudar a hacer este codigo porfavor? en php Desarrolle el código que solicite los datos (desde teclado) Nombre, Edad y peso. Posteriormente realice lo siguiente: a) Imprima los datos. b) Solicite el peso hasta que el rango de valores sea entre 50 y 100 kilos. c) La edad debe ser entre 18 y 50 años Suba los archivos con el código y la evidencia de la ejecución.

Answers

Answer 1

Answer:

Explanation:

El codigo solicita los datos y los analiza. Si estan bien continua, sino los vuelve a solicitar. Cuando esten todos los datos bien los imprime.

import java.util.Scanner;

class Brainly {

   public static void main(String[] args) {

       Scanner in = new Scanner(System.in);

       System.out.println("Nombre: ");

       String nombre = in.nextLine();

       int Edad, peso;

       while (true) {

           System.out.println("Edad: ");

           Edad = in.nextInt();

           if ((Edad >= 18) && (Edad <= 50)) {

               break;

           }

       }

       while (true) {

           System.out.println("Peso: ");

           peso = in.nextInt();

           if ((peso >= 50) && (peso <= 100)) {

               break;

           }

       }

       System.out.println("Nombre: " + nombre);

       System.out.println("Edad: " + Edad);

       System.out.println("Peso: " + peso);

   }

}

Alguien Me Podria Ayudar A Hacer Este Codigo Porfavor? En Php Desarrolle El Cdigo Que Solicite Los Datos

Related Questions

Using the drop-down menus, correctly complete the sentences.
A(n)
vis a set of step-by-step instructions that tell a computer exactly what to do.
The first step in creating a computer program is defining a(n)
the next step is creating a(n)
v problem that can be solved by a computer program.
A person writing a computer program is called a(n)

Answers

Answer:

It is  computer program , Problem, Logic, Programmer

Explanation:

on edge

Explain benefits and disadvantages of using BNC over F-Type connectors on coaxial cables

Answers

Answer:

The benefits and disadvantages of using BNC over F-Type connectors on coaxial cables are;

The benefits of the BNC includes;

1) Easy connect and disconnect for a more rapid connection unlike the F-Type connector which is a screw connector

2) Reduction on stress on the termination of the coaxial cable

3) Appropriate in systems that see frequent reconfiguration unlike te F-Type connector that is permanently attached

4) Prevent unwanted disconnection ensuring image consistency by locking into place

5) Can extend to 300 ft.

The disadvantages of the BNC connectors are;

1) A separate power supply for the cable is required

2) Is used only for video transmission

3) Cannot be used for audio

4) The center wire is not easily visible like those of the F-Type connector which serves as a pin

5) The BNC connector is not watertight like the F-Type connectors

6) There are no provision for properly and securely attaching the cable to the camera for field work such that it can be easily disconnected while in use unlike the F-Type connectors

7) It is not as easy to manufacture like the F-Type connector and it is more expensive

8) The installation of the BNC connector on a coaxial cable is more intricate and the center cable is hidden from view after the BNC is attached thereby making it not possible to see if there is an error in installation which is unlike the F-type connector that takes less than 30 seconds to be attached to a cable

9) The F-Type connector provides more cost savings during installation than the BNC connector

Explanation:

The BNC connector is a type of bayonet connector used more frequently on CCTV systems. The benefits of the BNC includes;

The F-Type connectors are usable on SATV, CATV, and Digital TV where they are used together with RG6 or RG11 cables

someone, please answer this.

This lesson showed you the general form of the syntax for a for loop in JavaScript:for

(initialize counter; condition; update counter) {code block;}

What does each part do, and why is it necessary?

Answers

Answer: A loop will continue running until the defined condition returns false . ... You can type js for , js while or js do while to get more info on any of these. ... initialization - Run before the first execution on the loop. ... But it can be used to decrement a counter too. statement - Code to be repeated in the loop.

Explanation:

What parts of a photograph determine whether a person looks quickly at a photo or studies it for a long period of time?( Minimum is a paragraph)

Answers

I’ll answer this but if anyone else can answer it first I’d rather do that

Who clarified the binary system of algebra​

Answers

Answer:

Really good mine Bella

Explanation:

Yes it is it’s c with a L

The history of the Internet dates back to the 1960s, when a group of scientists at Stanford University were entrusted to design which of the following as part of the competition between the US and its then Cold War enemy, the USSR?


a main frame to siphon information

a super computer for the US government

a network of sophisticated computers

a computer to control weapons

Answers

Answer:

a network of sophisticated computers

Explanation:

This is an easy and simple read if you want to as well

https://cs.stanford.edu/people/eroberts/courses/soco/projects/2001-02/distributed-computing/html/history.html

Explain the principle of a Kimball as a data input device

Answers

Answer:

k

Explanation:

bc i need points

Answer:

p=35

Explanation:

hoped this helped

i need an quote for a ad im using gatorade

Answers

Answer

Want the best aid for after a game, then try some Gatorade!

Explanation:

Hope this helps lol! plz mark as brainliest!

Input a list of positive numbers, terminated by 0, into an array Numbers[]. Then display the array and the largest and smallest number in it.

Answers

Answer:

hope this helps and mark my ans brainliest if it helped.

Explanation:

def main():

Numbers = []

n = input("Enter the number: ")

while n != 0:

Numbers.append(n)

n = input("Enter the number: ")

if len(Numbers) > 0:

max = Numbers[0]

min = Numbers[0]

for i in range(0, len(Numbers)):

if max < Numbers[i]:

max = Numbers[i]

if min > Numbers[i]:

min = Numbers[i]

print Numbers

print "Largest: ", max

print "Smallest: ",min

  

main();

Implement the function printTwoLargest that inputs an arbitrary number of positive numbers from the user. The input of numbers stops when the first negative or zero value is entered by the user. The function then prints the two largest values entered by the user. If fewer than two distinct positive numbers are entered a message to that effect is printed instead of printing any numbers. Hint: Duplicates will cause problems. Try to make sure that you find a way to ignore them.

Answers

Answer:

The function in Python is as follows:

def printTwoLargest():

   chk = 0

   list1 = []

   num = int(input("Enter: "))

   while num > 0:

       for i in list1:

           if i == num:

               chk+=1

               break;

       if chk == 0:

           list1.append(num)

       chk = 0

       num = int(input("Enter: "))

   list1.sort()

   if len(list1) >= 2:

       print("Largest:", list1[-1])

       print("Second:", list1[-2])

   else:

       print("Length of list must be at least 2")

Explanation:

This defines the function

def printTwoLargest():

This initializes a check variable to 0

   chk = 0

This initializes an empty list

   list1 = []

This prompts the user for input

   num = int(input("Enter: "))

The following loop is repeated until input is 0 or negative

   while num > 0:

The following for loop checks for duplicate

       for i in list1:

           if i == num: If duplicate is found

               chk+=1 The check variable is set to 1

               break; And the for loop is exited

The input is appended to the list if the check variable is 0 (i.e. no duplicate)

       if chk == 0:

           list1.append(num)

This sets the check variable back to 0, for another input

       chk = 0

This prompts the user for another input

       num = int(input("Enter: "))

This sorts the list

   list1.sort()

This prints the two largest if valid user input is 2 or more

   if len(list1) >= 2:

       print("Largest:", list1[-1])

       print("Second:", list1[-2])

if otherwise, this prints that the length must be at least 2

   else:

       print("Length of list must be at least 2")

why do computer architects prefer memory dump to be in base 16​

Answers

Answer:

We use hexadecimal numbers primarily because they provide a more human-friendly representation and it is much easier to express binary number representations in hex than in any other base number system.

Explanation:

You are an intern at Lucerne Publishing.
The company needs to use multiple versions of Microsoft Once on each machine in the editing department.
Which virtualization strategy should the company use?

Answers

Answer:

jvgbicgbvhkvfvuncj gjvfjvfk fj

8.1.9: Cookout Orders
I don’t know what I’m doing wrong

Ps. Also if you could help me with 8.1.8 Citation, Thank you

Answers

Answer:

The correction to the code is as follows:

order_1 = ("Lee",0,2)

order_2 = ("Tamia",1,0)

order_3 = ("Edward",1,1)

print("You need to buy",order_1[-1],"hotdogs")

print("You need to buy",order_2[1],"burgers")

print("You need to buy",order_3[1],"burgers and",order_3[2],"hotdogs")

Explanation:

The first three lines of the program is bug free.

However, the last 3 print statements are not.

(1) The statement to be printed must be in open and close parenthesis

(2) Change the + to comma (,) because the print statement includes integer and string values

(3) Lastly, the tuple items in the last statement must be printed separately

Regarding the citation, could you please clarify what you need help with specifically. Are you referring to citing a source in a particular citation style, such as APA or MLA. Providing more information will allow me to assist you better.

Recitation refers to the act of reading or repeating something aloud, often from memory or a prepared text. It is commonly associated with the process of learning and reviewing information, particularly in educational settings. Recitation can take various forms depending on the context.

In an academic or educational context, recitation often refers to a supplemental session where a teaching assistant or instructor leads a small group of students in reviewing and discussing material covered in a lecture. During a recitation, students may be asked to answer questions, solve problems, or participate in discussions related to the subject matter.

Learn more about educational context on:

https://brainly.com/question/31199020

#SPJ6

hello guess what u want brainlyst answer this question if u like gacha life

Answers

Answer:

yesssssssssssssssssssss I doo

Yes, no, I WAS obsessed when I was like, 10,11?

Which of the following statements most accurately describes the difference between aptitudes and skills?
O Aptitudes are ability, and skills are the potential.
O Aptitudes can be learned or trained, unlike skills.
O Aptitude is the level of skill that a person has gained.
O Aptitude is a person's potential to learn new skills.

Answers

Answer:

Aptitude is the level of skill that a person has gained.

Explanation:

Aptitude is the measurement of knowledge someone has in a specific area.  

Answer:

C Aptitude is the level of skill that a person has gained

Explanation:

which operating systems have both workstation and server editions?
-ios
-android
-ubuntu
-windows

Answers

Answer:

WINDOWS

Explanation:

The operating system that have both workstation and server editions is windows. The correct option is D.

What is an operating system?

The operating system (OS) controls all of the computer's software and hardware. It basically manages files, memory, as well as processes, handles input along with output, and controls peripheral devices such as disk drives and printers.

The most chief software that runs on a computer is the operating system. It is in charge of the computer's memory, processes, as well as all software and hardware.

Several computer programs typically run concurrently, all of which require access to the computer's processor (CPU), memory, and storage.

Operating systems now use networks to connect to one another as well as to servers for access to file systems and print servers. MS-DOS, Microsoft Windows, and UNIX are the three most popular operating systems.

Thus, the correct option is D.

For more details regarding operating system, visit:

https://brainly.com/question/6689423

#SPJ2

What type of information is appropriate for headers and footers? Check all that apply.
media
SmartArt
date and time
charts or graphs
O copyright notice
ООО
slide/page number
company or author's name

Answers

Answer:

Date and time

Copyright Notice

Slide/Page Number

Company or author's name.

Explanation:

Just did it.

Answer:

C. date and time

E. copyright notice

F. slide/page number

G. company or author’s name

Explanation:

hope this helps :)

Put the steps in order to produce the output shown below. Assume the indenting will be correct in the program.
JDoe
1. Line 1
answer = username ('Joann', 'Doe')
2. Line 2
print (answer)
3. Line 3
def username (strFirst, strLast):
4. Line 4
return strFirst[O] + strLast

Answers

Answer:

The correct code is:

def username (strFirst, strLast):

      return strFirst[O] + strLast

answer = username ('Joann', 'Doe')

print (answer)

Explanation:

The given code illustrates the use of functions.

i.e passing values to a function and retrieving values from it

So, first: We start with the def statement

def username (strFirst, strLast): ----> This defines the function

Then the return statement

      return strFirst[O] + strLast --- > This passes value to the main

Next, is the main function of the program which is:

answer = username ('Joann', 'Doe') ---> This passes values to the username function

print (answer) ---> This prints the returned value from the function

How many slides would be in a PowerPoint presentation based on the formatting of the Word outline?
A. two
B. Three
C. Eight
D. Eleven

Answers

Answer:

A. two

Explanation:

can i have brainliest please

Answer:

Explanation:

It depends on how the presentation is organized.  If there is one slide for each major section, then the answer is B. Three as there are 3 sections.

But if each outline has its own slide, then there will be D. Eleven slides.

HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP

Answers

Answer:

I should be C! :D

Answer:

B

Explanation:

You are an intern at Lucerne Publishing.
The company needs to use multiple versions of Microsoft Oce on each machine in the editing department.
Which virtualization strategy should the company use?

Answers

Answer:

Microsoft Application Virtualization (App-V)

Explanation:

Cloud computing can be defined as a type of computing that requires shared computing resources such as cloud storage (data storage), servers, computer power, and software over the internet rather than local servers and hard drives.

Generally, cloud computing offers individuals and businesses a fast, effective and efficient way of providing services.

In cloud computing, virtualization can be defined as a process which typically involves creating a virtual storage device, servers, operating system, desktop, infrastructure and other computing resources. Thus, virtualization is considered to be a building block (foundational element) of cloud computing as it powers it.

In this scenario, multiple versions of Microsoft Office are required to be used on each machine in the editing department. Thus, the virtualization strategy which the company should use is Microsoft Application Virtualization (App-V).

Microsoft Application Virtualization (App-V) refers to a virtualization and streaming software acquired by Microsoft from Softricity on the 17th of July, 2006. It is designed to avail software developers the ability to run, update and deploy (stream) software applications remotely to end users.

This ultimately implies that, end users could use multiple versions of a software application such as Microsoft Office 2013, 2016, etc., on each machine without having to worry about physically installing them on their Windows computer systems.

Which of the statements below describe how to print a document?

Click on the Print icon at the tip of the screen.

Click on Print in the system tray.

Select Print from the Start menu.

Select Print from the File menu.


(On the picture above is what I have plz let me know if I’m wrong)

Answers

I pretty sure it’s the first one also I don’t think that you pick two answers because it does not say to do so

Consider the following code segment.
int[][] mat = {{10, 15, 20, 25},
{30, 35, 40, 45},
{50, 55, 60, 65}};
for (int[] row : mat)
{
for (int j = 0; j < row.length; j += 2)
{
System.out.print(row[i] + " ");
}
System.out.println();
}
What, if anything, is printed as a result of executing the code segment?

Answers

Answer:

10 20                                                                                                                          

30 40                                                                                                                          

50 60

Explanation:

Given

The above code segment

Required

What is printed, if anything

To do this, we analyze the code line by line.

Line 1: The first line creates a 4 by 3 array named mat

Line 2: for (int[] row : mat) {  -> This creates row[] array which represents each row of array mat

Line 3: for (int j = 0; j < row.length; j += 2){ -> This iterates through the even indexed elements of the row array i.e. 0 and 2

Line 4: System.out.print(row[i] + " "); -> This prints the even indexed elements of the row array.

The even indexed elements are: 10, 20, 30, 40, 50 and 60

Line 5: System.out.println(); --> This prints a new line

Es la actividad que posibilita comunicar gráficamente ideas, hechos y valores procesados y sintetizados en términos de forma y comunicación, factores sociales, culturales, económicos, estéticos y tecnológicos

Answers

Answer:

La estadística es una rama de las matemáticas aplicadas que se ocupa de la recopilación, evaluación, análisis y presentación de datos o información. El trabajo también utiliza elementos de cognición, psicología, informática y ciencias de sistemas, cálculos numéricos y contribuciones de otras materias que tratan de matemáticas, datos y métodos informáticos intensivos.

El resultado, también llamado estadística, a menudo se presenta en forma numérica en números absolutos, números de frecuencia, números proporcionales, promedios, en tablas con series de tiempo o con otros números comparativos y a menudo también se ilustra en diagramas o figuras. El resultado se usa en parte para mostrar cómo se maneja algo en este momento y en parte como una herramienta para predecir eventos futuros mediante inducción. La estadística se utiliza en muchas disciplinas científicas, desde las ciencias naturales hasta las humanidades, pero también en la política y los negocios.

Name:
Computer Science
Modified
Python Coding Section C
Directions: Circle the best answer.
1. If the code below, what is the maximum amount of gold that can be in a treasure chest?
def treasure_chest():
gold = random.randint (1, 10)
print ("the treasure chest contains", gold, "pieces of gold.")
#Main program begins here
import random
player_gold = 5
print("There is a treasure chest here.")
treasure_chest()
+ None
C. Five
b. One
d. Ten
2. What is the output of this program?
def say_hello() :
print("Hello World)
say_hello)
say_hello
a. Hello world! Hello world!
b. "Hello World" "Hello World!"
C. Hello Hello
# None of the above

Answers

Answer:

The max Number would be D. TEN

Explanation:

Where it say the main program begins is where the use of import random is be using under the treasure chest function basicly the random.randint choose and random number between 1 through to 10..

Other Questions
determine the equation of the line which has a graident 4 passing through (3,-2) The cost of 2 pounds of coffee is $17.95. To the nearest dollar, what is the cost of 5 pounds of coffee? A flower pot is approximately in the shape of a cylinder. The diameter is 10 inches, and the height is 6 inches. Find the surface area of the flower pot. Round to the nearest square inch. You are an intern at Lucerne Publishing.The company needs to use multiple versions of Microsoft Once on each machine in the editing department.Which virtualization strategy should the company use? How would you describe Vyry's beating? en que conciste la funcion de relacion? Please please help me please!!!!!!! URGENT!!!! In a certain animal, a breed is known that always has a hairy tail; another breed is known that always has a naked tail. How would you determine which trait is dominant? i) It takes the climber 800 seconds to climb to the top of the cliff.During this time the energy transferred to the climber equals the work done bythe climber.Calculate the power of the climber during the climb.Power =W(Total 5 marPage 6 of 6 Which of the following sentences is from a firsthand biography? Please please please help me Im in honors math so our teacher makes us show our work What was the problem eating preserved food on the boats? A. Boats at the time were not big enough to carry enough preserved food. B. Preserved food did not contain as many vitamins and nutrients as fresh food. C. The preserved food tasted old and moldy, so the sailors did not eat enough of it. D. The sailors did not like the taste of preserved food and preferred to starve Determine whether each sample may be biased. Explain.5. Rickie surveys people at an amusement park to find out the average size of people's immediate family6. Theo surveys every fourth person entering a grocery store to find out the average number of pets in people's homes.7. A biologist estimates that there are 1,800 fish in a quarry. To test this estimate, a student caught 150 fish from the quarry, tagged them, and released them. A few days later, the student caught 50 fish and noted that 4 were tagged. Determine whether the biologist's estimate is likely to be accurate.NO FILES OR I REPORT grr >:-( The distance from one point on the circle to another that passes through the circle is called a: I need help quickly. What's the answer? Best answer gets Brainliest. ANSWER ASAP The entrance to a museum is Paris is shaped like a square pyramid. Thearea of the base of the pyramid is 1,227 square meters, and the height is21 meters.Which measurement is closest to the volume of the pyramid in cubicmeters? Nine students are running for the school council. The student with the most votes will become class president while the student with the second-highestvotes becomes vice president, and the student with the third-highest number of votes becomes secretary How many different ways could this happen? What volume in liters of fluorine gas is needed to form 999 L of sulfur hexafluoride gas if the following reaction takes place at 2.00 atm and 273.15 K: S(s) + 3F(g) SF (g) The main idea is oftentimes stated as aA. numbered procedure.B. document section.C. topic sentence or phrase.D. supporting detail or example.E. bulleted or alphabetized list. the product of a number and two more than the number .. what is the expression?