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]}`);
}
***
one year ago
Hey there, do you need help with this exercise?
one year ago
Try this code:

***



CSS transition-duration






***
one year 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.
one year ago
You can add image into HTML page as follows:

***

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

int main() {

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

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

return 0;

}
***
one year 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)
}
***
one year ago
one year ago
Try this code:

***



<br /> My Webpage Title<br />










***
one year ago
Try this code:

***
#include

int main() {

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

return 0;
}
***
one year 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)
}
***
one year ago