> ## Documentation Index
> Fetch the complete documentation index at: https://blog.sumathi.dev/llms.txt
> Use this file to discover all available pages before exploring further.

#  Questions set 3

* Write a program to print the marks of a student in an object using for loop
  `obj = {kalyan : 98 , kiran : 99 , suma : 100}`
* Write a program in q1 using for in loop
* Write a program to print "try again" untill user enter correct numbers
* Write a function to find mean of 5 numbers
* ```js theme={null}
    let marks_of_students = {
        kalyan : 98 , 
        kiran : 99 , 
        suma : 100
    }
    // Problem 1
    for (let i = 0 ; i < Object.keys(marks_of_students).length;i++) {
        console.log("Marks of "+ Object.keys(marks_of_students)[i] + " are " + marks_of_students[Object.keys(marks_of_students)[i]]);

    }
    // For in loop made above thing easier
    for (let key in marks_of_students) {
        console.log("marks of " + key + " are " + marks_of_students[key]);
    }

    // Problem 3
    let cn = 4
    let i = 4;

    while ( i != cn) {
        i = prompt("Enter a number")
        console.log("Try again")
    }
    console.log("You have entered correct number")

    // Problem No 4

    const mean = (a,b,c,d,e) => {
        return (a+b+c+d+e)/5
    }
    console.log(mean(1,2,3,4,5))
  ```
