ajax not working in my ecommerce theme

558fe5180e0e8fc922d31c23ef84d240

I made an ecommerce theme and threre register mini-cart.php by <?php echo apply_filters( 'woocommerce_widget_cart_item_quantity', '<span class="quantity">' . sprintf( '%s &times; %s', $cart_item['quantity'], $product_price ) . '</span>', $cart_item, $cart_item_key ); ?> code but when I add product to cart its show empty,afte page reload shows product numbers

what is the answer?

558fe5180e0e8fc922d31c23ef84d240

There are 3 different types of tags in a library: red, green, blue.

There are two different arrangement methods planned for the arrangement of the shelves, and 42 books can be arranged on these shelves. ( mathematical)

Lineup A: Red, green, blue books will be lined up in a row on a shelf.

Arrangement B: First, the red, then the green, and the last, the blue books will be lined up in an equal number on a shelf.

Use mathematical operations methods when writing the codes for this problem (eg addExact(a,b) instead of a+b)

Unable to pop out value from Stack-CPU Sim

558fe5180e0e8fc922d31c23ef84d240

am using CPU Sim to change wombat1 to wombat2 by adding stack.

I have done adding a Stack RAM and a Stack pointer SPR.

I have implemented a push instruction as such:
acc->mdr
mdr->stack(spr)
End

The implementation of push instruction is able to push the acc value to Stack but not able to pop the value from stack to acc for output.
And the pop instruction implemented below is popping out the address of the value instead of the value. The implementation of pop is:

spr-decr
stack(spr) ->mdr
mdr->acc
End

what have i done wrong? Or any suggestions?

5 Ways to Sort Wisely

558fe5180e0e8fc922d31c23ef84d240

Hey to everyone! I guess you all did sorting at least once. I also guess that everyone knows a sorting called "Bubble," cause it is the easiest and most popular. But when it comes to time and your memory, what will you do?

Imagine a situation. You have a mass that contains about 10^100 elements. Is it still good to use bubble sorting? Just imagine checking every element... and not once. It is not so difficult to count how many operations it is and how much time it takes.

error with class, interface, or enum expected

558fe5180e0e8fc922d31c23ef84d240

help me to identify the problem with this code

public class Calculate
{
    int service;
    }
    int price(int total, int amount, int currency)//overloading
    {
        int price(int total, int amount)//overloading
        {
            return service;
            }
}

C:\Users\User\Documents\Calculate.java:12: error: class, interface, or enum expected
int price(int total, int amount, int currency)//overloading
^
C:\Users\User\Documents\Calculate.java:17: error: class, interface, or enum expected
        }
        ^
 this is the error:

Reduce the dimensions of the full recording mobile screen/view

558fe5180e0e8fc922d31c23ef84d240

This html web page code, when viewed via mobile device, captures video from the mobile device. By tapping the page, the mobile video full screen appears, ready to begin recording. I'd like to find a way to reduce the dimensions of that full screen, if possible. I'm guessing it might need height and width dimnsions via some javascript code referencing "fileToUpload"?

<form action="uploadMobile.php"  method="post" enctype="multipart/form-data">
<input type="file" name="fileToUpload" id="fileToUpload" accept="video/*" capture="user" onchange="submitForm();">
<input type="submit" value="Upload" name="submit" id="go" style="display: none;"/>
</form>

Any guidance/assistance is appreciated.

Total Receipt Of A Drug Item of a simple pharmacy example

558fe5180e0e8fc922d31c23ef84d240

package Dialogs;
import java.text.DecimalFormat;
import java.util.Scanner;

public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    Scanner newdata =new Scanner(System.in);
    DecimalFormat df = new DecimalFormat(".00");
    int newprogram;
    int count = 0;
    double Total1;

    System.out.print("How many items in a counter? : ");
        int Item = sc.nextInt();
        String new1 [] = new String [Item];
        int new2 [] = new int [Item];
        double new3 [] = new double [Item];

        double Totalnew1, Totalnew2, value;
        System.out.println();

    for(int i = 0; i< new1.length; i++){
        count++;
        System.out.println("\nDrug Item "+count);

        System.out.print("Enter The Drug Name : ");
        new1 [i] = sc.next();
        System.out.print("Enter Quantity: ");
        new2 [i] = sc.nextInt();
        System.out.print("Enter Price   : ");
        new3 [i]  = sc.nextDouble();
        System.out.println("");
        }

    System.out.println("\n====================  [ SUMMARY OF ORDERS  ]  ===================");
    System.out.println("Drug Name      Quantity       Item Price        Total Price");

    for(int i = 0; i < new1.length; i++){
        System.out.print(new1[i]);
        System.out.print("         "+new2[i]);
        System.out.print("             "+df.format(new3[i])+"          ");

        Total1 = new2[i]*new3[i];
        System.out.println(df.format(Total1));
    }
    }
    }
    // I want to know How to get this?
    [  TOTAL SUMMARY  ]

Total Price 450.00
After Tax 484 // 450 + Vat
VAT Tax ( 12% ) 54 // 450 .12
Discount ( 20% ) 96.8 // after tax
.20
=============================

Total Price Tax
With VAT /Discount 96.8 // Discount

======================================================
[1]Cash
[2]Credit Card
Choose Type Are : 1

======================================================
Amount of Pay
387.2 // After Tax - Discount

Cash
400 //

Exchange
12.8 // Cash - Amount

Sort an arraylist of an arraylist of doubles

558fe5180e0e8fc922d31c23ef84d240

I am looking to sort an arraylist of arraylist of doubles and I require help?

I was informed that I need to implement comparator or comparable and then use the collection.sort to sort the list of list in order...

ArrayList<ArrayList> list = new ArrayList<ArrayList>()

If you look at the list of list as the following example:

c1-5.0,4.5,10.3,3.5

c2-2.5,1.0,7.8,8.6

c3-6.0,5.6,9.6,9.5

It show go to this

c1-2.5,1.0,7.8,3.5

c2-5.0,4.5,7.8,8.6

c3-6.0,5.6,10.3,9.5