¡GoConqr estrena diseño! Cuéntanos qué te parece.

Mapa mental

firstAssignment

Amar Shah Computer Science Inglés

Contenido del mapa

firstAssignment

  1. First Create 6 random numbers using the function randnit

    • Now we will perform different operations
      • Find the largest number
        • We will initially set randomNumberA to a new variable largestNumber
          • Then we will compare the largestNumber to randomNumber B
            • If randomNumberB is bigger then the largestNumber then we will assign largestNumber to be randomNumberB
              • Next we continue this iteration till we compare the variable largestNumber to randomNumberE
                • Thus we determine the largestNumber
      • This algorithm is similar to the one for the largestNumber.
        • The only difference is that we have a new variable smallestNumber and compare each of the randomNumber's to this variable and determine the smallest number
      • Given inputValue, find the number of times this number exists in our data of Random Variables
        • Define a variable called count. Then check in our list hotaw many times each Random Variable is there in our data base
          • Then print the count for each of the Random Variables
      • Calculate the smallest odd number in our data base
        • A number is odd if remainder after dividing by 2 is 1.
          • For each Random Number determine if it is odd using this rule. For the 1st number which is odd, assign the smallest odd number to this Random Variable
            • Use this algorithm for each of the odd numbers and thus determine the smallest odd number
      • Last we determine the Average of all the Random Variables

Información

Descripción
Computer Science Mapa Mental sobre firstAssignment, creado por Amar Shah el 24/01/2021.
Creado por
Amar Shah · ene 2021
Actualizado
25 ene 2021
Visitas
0
Valoración

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?