Given the following statement:
Write an algorithm to show on the screen whether each N number, typed
by the user is even or odd. The algorithm should also show on the screen
the sum of all even numbers, the sum of all odd numbers,
th...
Good evening guys, I'm having a problem, come on, maybe someone can help me.
$array1 = array();
$array2 = array();
foreach ($paper as $p)
{
$array1[] = $p->title;
$array2[] = $p->title;
}
$nbarray1 = count($array1);
$stringSimil...
Good
I am challenged to calculate the final value of the product on the same page without refresh, with 4 fields of discounts on a gross value presenting the unit and total result (items of a purchase order or invoice regardless of the name attr...
I have a question, I'm using WebClient in C # language, I have the following problem: I click on Download a file, and it does not start downloading, it says download is already finished ...
Code:
WebClient Web = new WebClient();...
Gentlemen, I'm developing a billing monitoring dashboard. I want to turn this number 56% directly into my JavaScript code. Here is a snippet of my code, it is fed directly by a query from my SQL.
This is the query that feeds my field within J...
I have to do a percentage system where I have 2 dates in TIMEUNIX , the end date ($cota->ultimo_recebimento) and the current day that I get with the time() function of PHP. I tried to do this:
<?php
echo ((time() / $c...
Hello, I have a question on a percentage problem ...
Ana wins R $ 5,000 and Julio earns R $ 9,0000.00. They have a debt of R $ 6,000.00 in common and want to pay this amount in proportion to the amount they receive. How much is the share due to...
Good people, the problem is the following, I developed a code to get the percentage used by my application of the processor cores:
private String getCPULoad() {
OperatingSystemMXBean osBean = (OperatingSystemMXBean) ManagementFactory.getOp...