Signup/Sign In

Answers

All questions must be answered. Here are the Answers given by this user in the Forum.

Here is the working code:
***
let course = {
name: "JS Course",
duration : "15 hours",
price: 499,
discount: "100%"
};

for(x in course)
{
console.log(`${x} is ${course[x]}`);
}
***
6 months ago
Hey there, do you need help with this exercise?
6 months ago
Try this code:

***



CSS transition-duration






***
6 months ago
Constants are fixed values that do not change during the program's execution, while variables are storage locations that can hold different values during the program's runtime. Constant is definitely not variable.
6 months ago
You can add image into HTML page as follows:

***

***
6 months ago
Please specify the level and lesson you need help with. Thanks!
6 months ago
Try this code:
***
#include

int main() {

float x = 70.5;
int y = x;
char z = y;

printf("z = %c", z);

return 0;

}
***
7 months ago
Try this code
***
package main
import "fmt"

func division(x int, y int) {
var result float64
if y != 0 {
result = float64(x/y)
fmt.Printf("The result for division of %d by %d is %0.2f",x,y,result)
} else {
fmt.Printf("You cannot divide a number by 0")
}
}

func main() {
// call the function
division(12, 4)
}
***
7 months ago
7 months ago
Try this code:

***



<br /> My Webpage Title<br />










***
7 months ago
Try this code:

***
#include

int main() {

int x;
char arr[10][12];
printf("%d", sizeof arr);

return 0;
}
***
7 months ago
Try this code in lesson 1 to move to the next one.
***
package main
import (
"fmt"
"bufio"
"os"
)

func main() {
fmt.Println("Enter a number:")
myReader := bufio.NewReader(os.Stdin)
userInput := myReader.ReadString('\n')
fmt.Println(userInput)
}
***
7 months ago