Javascript Loops – having trouble with calculations

import java.util.Scanner; import javax.swing.JOptionPane; public class Homework_Four {         static Scanner  scan = new Scanner(System.in); //declaring variables         private static String name,jOptionInput;         private static int menuChoice,quantity,totalQuantity=0;         private static double price=0,saleTax=0,totalAmount;                       public static void main(String[] args) {         javax.swing.SwingUtilities.invokeLater(new Runnable() {         public void run(){...
PHP:

Javascript Loops – having trouble with calculations

How do you place a quote inside a string on Cognito Forms calculations?

Cognito form allows for text calculation. But how do you put the ” character inside a string that is defined with quotes?

This is a very common problem in all programming languages, typically, there will be something called an escape character that is placed before the quote character so that it can be in the sting.

Here is an example of an escape character being used.

"This is a string with a \" character" 

How is this accomplished in Cognito Forms calculations?