Posts by thg1 • 77 points
3 posts
- 
		0 votes1 answer414 viewsQ: Command not found bashI am encountered the following error while running this script: line 7: [1: command not found #!/bin/bash #$ for counter in $(seq 1 255); do curl -X POST -H 'Content-Type: application/json'… 
- 
		1 votes1 answer2832 viewsQ: Higher and lower valueMake a program that takes a set of integer and positive values and calculates and shows the highest and lowest value of the set. (To close the input, zero must be entered). I know that the part of… 
- 
		5 votes3 answers4373 viewsQ: If H = 1 + ½ +1/3 + ¼ + ... + 1/N, make an algorithm to calculate H, where N is typed by the userThe program is only printing 1, it’s like it doesn’t keep the value of the variable h, can anyone help? Follow the code: public class MainUmSobreH { public static void main(String[] args) { double h…