O GoConqr está de visual novo! Conte para nós o que você achou.

Mapa mental

firstAssignment

Amar Shah Computer Science Inglês

Conteúdo do 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

Informações

Descrição
Computer Science Mapa Mental sobre firstAssignment, criado por Amar Shah em 24-01-2021.
Criado por
Amar Shah · jan 2021
Atualizado
25 jan 2021
Visualizações
0
Avaliação

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?